From 1b348ade03ecf708c13a37f353ac1533f7c0d747 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 9 Jan 2024 20:20:20 +0100 Subject: folding functionally --- c_ldirs.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'c_ldirs.go') diff --git a/c_ldirs.go b/c_ldirs.go index b32db51..d707686 100644 --- a/c_ldirs.go +++ b/c_ldirs.go @@ -116,12 +116,3 @@ func (dir *DirsNode) count_hosts() int { } return dir.lhost.last.ID + 1 } - -func (dir *DirsNode) folded_parents() bool { - for ptr := dir.Parent; ptr.Parent != nil; ptr = ptr.Parent { - if ptr.Folded == true { - return true - } - } - return false -} -- cgit v1.2.3