aboutsummaryrefslogtreecommitdiffstats
path: root/c_ldirs.go
diff options
context:
space:
mode:
Diffstat (limited to 'c_ldirs.go')
-rw-r--r--c_ldirs.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/c_ldirs.go b/c_ldirs.go
index b32db51..d707686 100644
--- a/c_ldirs.go
+++ b/c_ldirs.go
@@ -116,12 +116,3 @@ func (dir *DirsNode) count_hosts() int {
}
return dir.lhost.last.ID + 1
}
-
-func (dir *DirsNode) folded_parents() bool {
- for ptr := dir.Parent; ptr.Parent != nil; ptr = ptr.Parent {
- if ptr.Folded == true {
- return true
- }
- }
- return false
-}