diff options
author | Joe <rbo@gmx.us> | 2024-01-11 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-11 20:20:20 +0100 |
commit | ddb6cdc8b9e723dd89b2dbb81b30c282dbc685c8 (patch) | |
tree | adb630564b940470b01931cc46f103ab4179a381 /c_ldirs.go | |
parent | cool (diff) | |
download | hardflip-ddb6cdc8b9e723dd89b2dbb81b30c282dbc685c8.tar.gz hardflip-ddb6cdc8b9e723dd89b2dbb81b30c282dbc685c8.tar.bz2 hardflip-ddb6cdc8b9e723dd89b2dbb81b30c282dbc685c8.tar.xz hardflip-ddb6cdc8b9e723dd89b2dbb81b30c282dbc685c8.tar.zst hardflip-ddb6cdc8b9e723dd89b2dbb81b30c282dbc685c8.zip |
gogo
Diffstat (limited to 'c_ldirs.go')
-rw-r--r-- | c_ldirs.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -163,6 +163,8 @@ func (dir *DirsNode) count_elements(skip_folds bool) int { for ptr := dir.next; ptr != nil && ptr.Depth > dir.Depth; ptr = ptr.next { if skip_folds == true && ptr.Folded == true { items += 1 + // HACK: key to the map is the key + // TODO: fix you shit } else { items += ptr.count_hosts() + 1 } |