mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
LibCore: Move Core::Stream::File::exists()
to Core::File
`Core::Stream::File` shouldn't hold any utility methods that are unrelated to constructing a `Core::Stream`, so let's just replace the existing `Core::File::exists` with the nicer looking implementation.
This commit is contained in:
parent
bd272e638c
commit
2fc2025f49
10 changed files with 14 additions and 18 deletions
|
@ -47,7 +47,7 @@ public:
|
|||
bool looks_like_shared_library() const;
|
||||
static bool looks_like_shared_library(DeprecatedString const& filename);
|
||||
|
||||
static bool exists(DeprecatedString const& filename);
|
||||
static bool exists(StringView filename);
|
||||
static ErrorOr<size_t> size(DeprecatedString const& filename);
|
||||
static DeprecatedString current_working_directory();
|
||||
static DeprecatedString absolute_path(DeprecatedString const& path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue