From 6149c669d1f8da881a58879bc54220be6d25e555 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 4 Jan 2024 20:20:20 +0100 Subject: ok this is great --- c_ldirs.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'c_ldirs.go') diff --git a/c_ldirs.go b/c_ldirs.go index b647944..4533d57 100644 --- a/c_ldirs.go +++ b/c_ldirs.go @@ -126,3 +126,15 @@ func (ldirs *DirsList) count() (uint64, uint64) { } return count_dirs, count_hosts } + +func (dir *DirsNode) is_dir() bool { + return true +} + +func (dir *DirsNode) get_id() uint64 { + return dir.ID +} + +func (dir *DirsNode) get_next() *DirsNode { + return dir.next +} -- cgit v1.2.3