aboutsummaryrefslogtreecommitdiffstats
path: root/c_ldirs.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-04 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-04 20:20:20 +0100
commit303764a80bf0e4a79a463d2dd41b7baad6c38038 (patch)
tree21a2e67b3e7c274a7ccdce329187140f80c5eb35 /c_ldirs.go
parentworks for now (diff)
downloadhardflip-303764a80bf0e4a79a463d2dd41b7baad6c38038.tar.gz
hardflip-303764a80bf0e4a79a463d2dd41b7baad6c38038.tar.bz2
hardflip-303764a80bf0e4a79a463d2dd41b7baad6c38038.tar.xz
hardflip-303764a80bf0e4a79a463d2dd41b7baad6c38038.tar.zst
hardflip-303764a80bf0e4a79a463d2dd41b7baad6c38038.zip
awy
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
}