diff options
-rw-r--r-- | src/cmd/vac/file.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/vac/file.c b/src/cmd/vac/file.c index e5629aed..c79b0108 100644 --- a/src/cmd/vac/file.c +++ b/src/cmd/vac/file.c @@ -993,6 +993,12 @@ vacfileisdir(VacFile *f) } int +vacfilegetmode(VacFile *f) +{ + return f->dir.mode; +} + +int vacfileisroot(VacFile *f) { return f == f->fs->root; |