mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 14:15:07 +00:00
Kernel: Replace "folder" => "directory" everywhere
Folders are a GUI concept. File systems have directories.
This commit is contained in:
parent
22611ca136
commit
2da0581fd2
15 changed files with 246 additions and 246 deletions
|
@ -29,9 +29,9 @@ SysFSComponent::SysFSComponent(StringView name)
|
|||
KResult SysFSDirectory::traverse_as_directory(unsigned fsid, Function<bool(FileSystem::DirectoryEntryView const&)> callback) const
|
||||
{
|
||||
Locker locker(SysFSComponentRegistry::the().get_lock());
|
||||
VERIFY(m_parent_folder);
|
||||
VERIFY(m_parent_directory);
|
||||
callback({ ".", { fsid, component_index() }, 0 });
|
||||
callback({ "..", { fsid, m_parent_folder->component_index() }, 0 });
|
||||
callback({ "..", { fsid, m_parent_directory->component_index() }, 0 });
|
||||
|
||||
for (auto& component : m_components) {
|
||||
InodeIdentifier identifier = { fsid, component.component_index() };
|
||||
|
@ -55,9 +55,9 @@ SysFSDirectory::SysFSDirectory(StringView name)
|
|||
{
|
||||
}
|
||||
|
||||
SysFSDirectory::SysFSDirectory(StringView name, SysFSDirectory const& parent_folder)
|
||||
SysFSDirectory::SysFSDirectory(StringView name, SysFSDirectory const& parent_directory)
|
||||
: SysFSComponent(name)
|
||||
, m_parent_folder(parent_folder)
|
||||
, m_parent_directory(parent_directory)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue