mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibCore: Add File::is_directory() helpers
This commit is contained in:
@@ -39,6 +39,9 @@ public:
|
||||
String filename() const { return m_filename; }
|
||||
void set_filename(const StringView& filename) { m_filename = filename; }
|
||||
|
||||
bool is_directory() const;
|
||||
static bool is_directory(const String& filename);
|
||||
|
||||
virtual bool open(IODevice::OpenMode) override;
|
||||
|
||||
enum class ShouldCloseFileDescription {
|
||||
|
||||
Reference in New Issue
Block a user