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

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

This commit is contained in:
Andreas Kling 2021-11-07 01:47:21 +01:00
parent 4a2b718ba2
commit fac2550143
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ public:
static bool is_link(String const& filename);
static bool exists(String const& filename);
static Result<size_t, OSError> size(String const& filename);
static ErrorOr<size_t> size(String const& filename);
static bool ensure_parent_directories(String const& path);
static String current_working_directory();
static String absolute_path(String const& path);