mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-10 23:09:18 +00:00
vfs: Implement GetName() & GetPath() in FileNode class
This commit is contained in:
@ -48,6 +48,9 @@ public:
|
||||
Inode *Node;
|
||||
FileSystemInfo *fsi;
|
||||
|
||||
std::string GetName();
|
||||
std::string GetPath();
|
||||
|
||||
bool IsDirectory() { return S_ISDIR(Node->Mode); }
|
||||
bool IsCharacterDevice() { return S_ISCHR(Node->Mode); }
|
||||
bool IsBlockDevice() { return S_ISBLK(Node->Mode); }
|
||||
|
Reference in New Issue
Block a user