Show file count in each directory, and moved "Too many files" message (#1376)

* Added file_count() function
* Show file count in each directory; moved "Too many files!" warning
This commit is contained in:
Mark Thompson
2023-08-16 03:00:46 -05:00
committed by GitHub
parent f079d57fc6
commit e1cc0b1ad0
4 changed files with 27 additions and 18 deletions

View File

@@ -250,6 +250,8 @@ bool file_exists(const path& file_path);
bool is_directory(const path& file_path);
bool is_empty_directory(const path& file_path);
int file_count(const path& dir_path);
space_info space(const path& p);
} /* namespace filesystem */