| 181 | } |
| 182 | |
| 183 | void Explorer::CopyDirectoryProgress(const std::string &dir, const std::string &new_dir, CopyDirectoryStartCallback start_cb, CopyDirectoryFileStartCallback file_start_cb, CopyDirectoryFileProgressCallback file_prog_cb) { |
| 184 | u64 cur_done_size = 0; |
| 185 | const auto total_size = this->GetDirectorySize(dir); |
| 186 | start_cb(total_size); |
| 187 | |
| 188 | DoCopyDirectoryProgress(this, cur_done_size, total_size, dir, new_dir, file_start_cb, file_prog_cb); |
| 189 | } |
| 190 | |
| 191 | bool Explorer::IsFileBinary(const std::string &path) { |
| 192 | const auto full_path = this->MakeFull(path); |
no test coverage detected