diff options
author | Joe <rbo@gmx.us> | 2024-01-15 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-15 20:20:20 +0100 |
commit | aba641ac44bfb641dd56f0c73ccd5c11689d4c01 (patch) | |
tree | d84b0e73a02e79ddb03e627949af69e9893d9c43 /c_ldirs.go | |
parent | fuck i dont get it (diff) | |
download | hardflip-aba641ac44bfb641dd56f0c73ccd5c11689d4c01.tar.gz hardflip-aba641ac44bfb641dd56f0c73ccd5c11689d4c01.tar.bz2 hardflip-aba641ac44bfb641dd56f0c73ccd5c11689d4c01.tar.xz hardflip-aba641ac44bfb641dd56f0c73ccd5c11689d4c01.tar.zst hardflip-aba641ac44bfb641dd56f0c73ccd5c11689d4c01.zip |
go
Diffstat (limited to '')
-rw-r--r-- | c_ldirs.go | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -146,18 +146,6 @@ func (dir *DirsNode) path() string { return path } -// returns the next directory in line with the same or lower depth -func (dir *DirsNode) get_next_level(folds map[*DirsNode]*ItemsList) *DirsNode { - if dir == nil { - return nil - } - ptr := dir.next - for ptr != nil && ptr.Depth > dir.Depth { - ptr = ptr.next - } - return ptr -} - // returns the number of hosts of the dir func (dir *DirsNode) count_hosts() int { if dir.lhost.head == nil || dir.lhost.last == nil { |