aboutsummaryrefslogtreecommitdiffstats
path: root/c_ldirs.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-09 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-09 20:20:20 +0100
commit1b348ade03ecf708c13a37f353ac1533f7c0d747 (patch)
tree6b824ba4eb790cba11e8c45813b696a0cfca8ccd /c_ldirs.go
parentfolding visually (diff)
downloadhardflip-1b348ade03ecf708c13a37f353ac1533f7c0d747.tar.gz
hardflip-1b348ade03ecf708c13a37f353ac1533f7c0d747.tar.bz2
hardflip-1b348ade03ecf708c13a37f353ac1533f7c0d747.tar.xz
hardflip-1b348ade03ecf708c13a37f353ac1533f7c0d747.tar.zst
hardflip-1b348ade03ecf708c13a37f353ac1533f7c0d747.zip
folding functionally
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
-}