mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 01:08:48 +00:00
AK: Rename Stream::write_entire_buffer to Stream::write_until_depleted
No functional changes.
This commit is contained in:
parent
a3f73e7d85
commit
ecd1862859
Notes:
sideshowbarker
2024-07-18 00:34:07 +09:00
Author: https://github.com/timschumi
Commit: ecd1862859
Pull-request: https://github.com/SerenityOS/serenity/pull/17684
Reviewed-by: https://github.com/JanDeVisser ✅
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg ✅
46 changed files with 141 additions and 141 deletions
|
@ -249,7 +249,7 @@ ErrorOr<size_t> OpenFileDescription::get_dir_entries(UserOrKernelBuffer& output_
|
|||
MUST(stream.write_value<u64>(entry.inode.index().value()));
|
||||
MUST(stream.write_value(m_inode->fs().internal_file_type_to_directory_entry_type(entry)));
|
||||
MUST(stream.write_value<u32>(entry.name.length()));
|
||||
MUST(stream.write_entire_buffer(entry.name.bytes()));
|
||||
MUST(stream.write_until_depleted(entry.name.bytes()));
|
||||
return {};
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue