mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 04:37:22 +00:00
LibArchive+Utilities: Stop using DeprecatedString
This also slightly improves error propagation in tar, unzip and zip.
This commit is contained in:
parent
8377adfde0
commit
28c99e7a1f
Notes:
sideshowbarker
2024-07-17 01:58:25 +09:00
Author: https://github.com/implicitfield
Commit: 28c99e7a1f
Pull-request: https://github.com/SerenityOS/serenity/pull/16626
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/timschumi ✅
10 changed files with 57 additions and 57 deletions
|
@ -59,9 +59,9 @@ private:
|
|||
class TarOutputStream {
|
||||
public:
|
||||
TarOutputStream(Core::Stream::Handle<Core::Stream::Stream>);
|
||||
ErrorOr<void> add_file(DeprecatedString const& path, mode_t, ReadonlyBytes);
|
||||
ErrorOr<void> add_link(DeprecatedString const& path, mode_t, StringView);
|
||||
ErrorOr<void> add_directory(DeprecatedString const& path, mode_t);
|
||||
ErrorOr<void> add_file(StringView path, mode_t, ReadonlyBytes);
|
||||
ErrorOr<void> add_link(StringView path, mode_t, StringView);
|
||||
ErrorOr<void> add_directory(StringView path, mode_t);
|
||||
ErrorOr<void> finish();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue