mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
os/vfs.h: add Directory::Entry::rwx accessor
This commit is contained in:
committed by
Christian Helmuth
parent
582e0e718c
commit
7118ad494c
@@ -77,6 +77,8 @@ struct Genode::Directory : Noncopyable, Interface
|
||||
Vfs::Directory_service::Dirent_type type() const { return _dirent.type; }
|
||||
|
||||
bool dir() const { return _dirent.type == Dirent_type::DIRECTORY; }
|
||||
|
||||
Vfs::Node_rwx rwx() const { return _dirent.rwx; }
|
||||
};
|
||||
|
||||
enum { MAX_PATH_LEN = 256 };
|
||||
|
||||
Reference in New Issue
Block a user