LibFileSystem: Add FileSystem::is_regular_file

This commit is contained in:
Shannon Booth 2023-07-07 00:29:31 +12:00 committed by Sam Atkins
commit b2d33c5689
Notes: sideshowbarker 2024-07-17 07:31:31 +09:00
2 changed files with 21 additions and 0 deletions

View file

@ -25,6 +25,9 @@ ErrorOr<String> real_path(StringView path);
bool exists(StringView path);
bool exists(int fd);
bool is_regular_file(StringView path);
bool is_regular_file(int fd);
bool is_directory(StringView path);
bool is_directory(int fd);