1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:57:45 +00:00

LibCore: Use ErrorOr<T> for Core::File::link_file()

This commit is contained in:
Andreas Kling 2021-11-07 00:43:57 +01:00
parent 0f5477c721
commit b2170c11a4
2 changed files with 4 additions and 7 deletions

View file

@ -70,7 +70,7 @@ public:
static String real_path_for(String const& filename);
static String read_link(String const& link_path);
static Result<void, OSError> link_file(String const& dst_path, String const& src_path);
static ErrorOr<void> link_file(String const& dst_path, String const& src_path);
struct RemoveError {
String file;