| 120 | |
| 121 | |
| 122 | uint64_t getFileSize(const std::string& path) { |
| 123 | try { |
| 124 | return fs::file_size(fs::u8path(path)); |
| 125 | } |
| 126 | catch (fs::filesystem_error& e) { |
| 127 | return 0; |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | |
| 132 | bool rename(const std::string& srcPath, const std::string& destPath) { |
nothing calls this directly
no outgoing calls
no test coverage detected