mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-14 05:22:24 +00:00
LibFileSystem+Userland: Return ByteString from real_path()
This commit is contained in:
parent
cdf17efb9a
commit
56c5ffe398
Notes:
sideshowbarker
2024-07-16 23:13:25 +09:00
Author: https://github.com/AtkinsSJ
Commit: 56c5ffe398
Pull-request: https://github.com/SerenityOS/serenity/pull/22775
Reviewed-by: https://github.com/ADKaster ✅
25 changed files with 44 additions and 40 deletions
|
@ -179,7 +179,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
char hostname[HOST_NAME_MAX];
|
||||
VERIFY(gethostname(hostname, sizeof(hostname)) == 0);
|
||||
|
||||
auto url = URL::create_with_file_scheme(full_path_or_error.value().to_byte_string(), {}, hostname);
|
||||
auto url = URL::create_with_file_scheme(full_path_or_error.value(), {}, hostname);
|
||||
out("\033]8;;{}\033\\", url.serialize());
|
||||
printed_hyperlink = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue