mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 05:08:56 +00:00
AK: Rename Stream::write_entire_buffer to Stream::write_until_depleted
No functional changes.
This commit is contained in:
committed by
Linus Groh
parent
a3f73e7d85
commit
ecd1862859
@@ -42,7 +42,7 @@ static ErrorOr<void> save_text_to_file(StringView filename, DeprecatedString tex
|
||||
auto file = TRY(Core::File::open(filename, Core::File::OpenMode::Write));
|
||||
|
||||
if (!text.is_empty())
|
||||
TRY(file->write_entire_buffer(text.bytes()));
|
||||
TRY(file->write_until_depleted(text.bytes()));
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user