aboutsummaryrefslogtreecommitdiffstats
path: root/c_ldirs.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-15 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-15 20:20:20 +0100
commitaba641ac44bfb641dd56f0c73ccd5c11689d4c01 (patch)
treed84b0e73a02e79ddb03e627949af69e9893d9c43 /c_ldirs.go
parentfuck i dont get it (diff)
downloadhardflip-aba641ac44bfb641dd56f0c73ccd5c11689d4c01.tar.gz
hardflip-aba641ac44bfb641dd56f0c73ccd5c11689d4c01.tar.bz2
hardflip-aba641ac44bfb641dd56f0c73ccd5c11689d4c01.tar.xz
hardflip-aba641ac44bfb641dd56f0c73ccd5c11689d4c01.tar.zst
hardflip-aba641ac44bfb641dd56f0c73ccd5c11689d4c01.zip
go
Diffstat (limited to 'c_ldirs.go')
-rw-r--r--c_ldirs.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/c_ldirs.go b/c_ldirs.go
index 2fca939..de081b6 100644
--- a/c_ldirs.go
+++ b/c_ldirs.go
@@ -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 {