LibFileSystem+Userland: Return ByteString from real_path()

This commit is contained in:
Sam Atkins 2024-01-15 16:23:24 +00:00 committed by Sam Atkins
commit 56c5ffe398
Notes: sideshowbarker 2024-07-16 23:13:25 +09:00
25 changed files with 44 additions and 40 deletions

View file

@ -394,7 +394,7 @@ ByteString Shell::resolve_path(ByteString path) const
if (!path.starts_with('/'))
path = ByteString::formatted("{}/{}", cwd, path);
return FileSystem::real_path(path).release_value_but_fixme_should_propagate_errors().to_byte_string();
return FileSystem::real_path(path).release_value_but_fixme_should_propagate_errors();
}
Shell::LocalFrame* Shell::find_frame_containing_local_variable(StringView name)