mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibFileSystem+Userland: Return ByteString from absolute_path()
This commit is contained in:
parent
fb644d08ac
commit
cdf17efb9a
Notes:
sideshowbarker
2024-07-16 17:05:37 +09:00
Author: https://github.com/AtkinsSJ
Commit: cdf17efb9a
Pull-request: https://github.com/SerenityOS/serenity/pull/22775
Reviewed-by: https://github.com/ADKaster ✅
7 changed files with 12 additions and 14 deletions
|
@ -952,7 +952,7 @@ ErrorOr<int> serenity_main(Main::Arguments args)
|
|||
pos_args.remove(0);
|
||||
}
|
||||
|
||||
HashMap<String, String> paths_to_unveil;
|
||||
HashMap<ByteString, String> paths_to_unveil;
|
||||
|
||||
for (auto const& input_filename : TRY(script.input_filenames())) {
|
||||
TRY(paths_to_unveil.try_set(TRY(FileSystem::absolute_path(input_filename)), edit_in_place ? "rwc"_string : "r"_string));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue