From ddb6cdc8b9e723dd89b2dbb81b30c282dbc685c8 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 11 Jan 2024 20:20:20 +0100 Subject: gogo --- c_ldirs.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'c_ldirs.go') diff --git a/c_ldirs.go b/c_ldirs.go index be1a225..688c119 100644 --- a/c_ldirs.go +++ b/c_ldirs.go @@ -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 } -- cgit v1.2.3