aboutsummaryrefslogtreecommitdiffstats
path: root/c_ldirs.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c_ldirs.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/c_ldirs.go b/c_ldirs.go
index 82b3607..880c1b7 100644
--- a/c_ldirs.go
+++ b/c_ldirs.go
@@ -131,6 +131,10 @@ func (dir *DirsNode) is_dir() bool {
return true
}
+func (dir *DirsNode) get_id() int {
+ return dir.ID
+}
+
func (dir *DirsNode) get_self_dirs() *DirsNode {
return dir
}