mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 14:58:46 +00:00
Kernel: Use StringView more in Inode and subclasses.
This commit is contained in:
parent
cdb44be703
commit
8258b699db
Notes:
sideshowbarker
2024-07-19 13:40:11 +09:00
Author: https://github.com/awesomekling
Commit: 8258b699db
7 changed files with 14 additions and 14 deletions
|
@ -704,7 +704,7 @@ bool Ext2FSInode::traverse_as_directory(Function<bool(const FS::DirectoryEntry&)
|
|||
return true;
|
||||
}
|
||||
|
||||
KResult Ext2FSInode::add_child(InodeIdentifier child_id, const String& name, mode_t mode)
|
||||
KResult Ext2FSInode::add_child(InodeIdentifier child_id, const StringView& name, mode_t mode)
|
||||
{
|
||||
LOCKER(m_lock);
|
||||
ASSERT(is_directory());
|
||||
|
@ -739,7 +739,7 @@ KResult Ext2FSInode::add_child(InodeIdentifier child_id, const String& name, mod
|
|||
return KSuccess;
|
||||
}
|
||||
|
||||
KResult Ext2FSInode::remove_child(const String& name)
|
||||
KResult Ext2FSInode::remove_child(const StringView& name)
|
||||
{
|
||||
LOCKER(m_lock);
|
||||
#ifdef EXT2_DEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue