1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +00:00

Kernel: Replace "Folder" => "Directory" everywhere

Folders are a GUI concept, file systems have directories. :^)
This commit is contained in:
Andreas Kling 2021-07-11 01:33:40 +02:00
parent 5ec3f5433e
commit 805319ed30
13 changed files with 165 additions and 165 deletions

View file

@ -12,15 +12,15 @@
namespace Kernel {
class SysFSRootFolder final : public SysFSDirectory {
class SysFSRootDirectory final : public SysFSDirectory {
friend class SysFSComponentRegistry;
public:
static NonnullRefPtr<SysFSRootFolder> create();
static NonnullRefPtr<SysFSRootDirectory> create();
virtual KResult traverse_as_directory(unsigned, Function<bool(FileSystem::DirectoryEntryView const&)>) const override;
private:
SysFSRootFolder();
SysFSRootDirectory();
};
class SysFSComponentRegistry {
@ -37,7 +37,7 @@ public:
private:
Lock m_lock;
NonnullRefPtr<SysFSRootFolder> m_root_folder;
NonnullRefPtr<SysFSRootDirectory> m_root_folder;
};
class SysFS final : public FileSystem {