mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-20 01:01:54 +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
Notes:
sideshowbarker
2024-07-18 08:51:07 +09:00
Author: https://github.com/awesomekling
Commit: 2da0581fd2
15 changed files with 246 additions and 246 deletions
|
@ -25,14 +25,14 @@ UNMAP_AFTER_INIT void SysFSComponentRegistry::initialize()
|
|||
}
|
||||
|
||||
UNMAP_AFTER_INIT SysFSComponentRegistry::SysFSComponentRegistry()
|
||||
: m_root_folder(SysFSRootDirectory::create())
|
||||
: m_root_directory(SysFSRootDirectory::create())
|
||||
{
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT void SysFSComponentRegistry::register_new_component(SysFSComponent& component)
|
||||
{
|
||||
Locker locker(m_lock);
|
||||
m_root_folder->m_components.append(component);
|
||||
m_root_directory->m_components.append(component);
|
||||
}
|
||||
|
||||
NonnullRefPtr<SysFSRootDirectory> SysFSRootDirectory::create()
|
||||
|
@ -64,7 +64,7 @@ NonnullRefPtr<SysFS> SysFS::create()
|
|||
}
|
||||
|
||||
SysFS::SysFS()
|
||||
: m_root_inode(SysFSComponentRegistry::the().root_folder().to_inode(*this))
|
||||
: m_root_inode(SysFSComponentRegistry::the().root_directory().to_inode(*this))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue