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, 12 insertions, 0 deletions
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
+}