| 7 | #include <numeric> |
| 8 | |
| 9 | static int32_t getNumFilesInFolder(std::wstring_view path) |
| 10 | { |
| 11 | return std::distance( |
| 12 | std::filesystem::recursive_directory_iterator{ path }, |
| 13 | std::filesystem::recursive_directory_iterator{} |
| 14 | ); |
| 15 | } |
| 16 | |
| 17 | static uint64_t getFileSizeInFolder(std::wstring_view path) |
| 18 | { |