diff options
author | Joe <rbo@gmx.us> | 2024-01-09 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-09 20:20:20 +0100 |
commit | 1b348ade03ecf708c13a37f353ac1533f7c0d747 (patch) | |
tree | 6b824ba4eb790cba11e8c45813b696a0cfca8ccd /c_ldirs.go | |
parent | folding visually (diff) | |
download | hardflip-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.go | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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 -} |