mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:27:45 +00:00
LibCore: Add "static bool Core::File::exists(filename)"
This commit is contained in:
parent
0cdf68f668
commit
90fec9c732
2 changed files with 8 additions and 0 deletions
|
@ -42,6 +42,8 @@ public:
|
|||
bool is_directory() const;
|
||||
static bool is_directory(const String& filename);
|
||||
|
||||
static bool exists(const String& filename);
|
||||
|
||||
virtual bool open(IODevice::OpenMode) override;
|
||||
|
||||
enum class ShouldCloseFileDescription {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue