diff options
author | Joe <rbo@gmx.us> | 2024-01-04 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-04 20:20:20 +0100 |
commit | 6149c669d1f8da881a58879bc54220be6d25e555 (patch) | |
tree | 0eb7ca76892454112cc0d6f279ea0d8749b1e9ca /c_ldirs.go | |
parent | unique id maybe? (diff) | |
download | hardflip-6149c669d1f8da881a58879bc54220be6d25e555.tar.gz hardflip-6149c669d1f8da881a58879bc54220be6d25e555.tar.bz2 hardflip-6149c669d1f8da881a58879bc54220be6d25e555.tar.xz hardflip-6149c669d1f8da881a58879bc54220be6d25e555.tar.zst hardflip-6149c669d1f8da881a58879bc54220be6d25e555.zip |
ok this is great
Diffstat (limited to '')
-rw-r--r-- | c_ldirs.go | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 +} |