aboutsummaryrefslogtreecommitdiffstats
path: root/c_ldirs.go
diff options
context:
space:
mode:
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 {