mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:37:44 +00:00
LibCore: Add fd overload of File::is_directory
and File::is_device
This commit is contained in:
parent
9ae97c8cb1
commit
cfb0e1bdb2
2 changed files with 20 additions and 8 deletions
|
@ -33,9 +33,11 @@ public:
|
|||
|
||||
bool is_directory() const;
|
||||
static bool is_directory(DeprecatedString const& filename);
|
||||
static bool is_directory(int fd);
|
||||
|
||||
bool is_device() const;
|
||||
static bool is_device(DeprecatedString const& filename);
|
||||
static bool is_device(int fd);
|
||||
bool is_block_device() const;
|
||||
static bool is_block_device(DeprecatedString const& filename);
|
||||
bool is_char_device() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue