1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 12:05:06 +00:00

Fix some broken stuff in VFS test environment.

It's still lagging behind the metal environment but here's some work towards
fixing it at least.
This commit is contained in:
Andreas Kling 2018-11-07 15:51:39 +01:00
parent 981a3ae4b3
commit 61a84193d7
4 changed files with 27 additions and 15 deletions

View file

@ -79,8 +79,8 @@ public:
~VirtualFileSystem();
bool isDirectory(const String& path, InodeIdentifier base = InodeIdentifier());
void listDirectory(const String& path);
void listDirectoryRecursively(const String& path);
void listDirectory(const String& path, InodeIdentifier base);
void listDirectoryRecursively(const String& path, InodeIdentifier base);
unsigned maxNodeCount() const { return m_maxNodeCount; }
unsigned allocatedNodeCount() const { return m_maxNodeCount - m_nodeFreeList.size(); }