| 173 | } |
| 174 | |
| 175 | std::vector<std::filesystem::path> GetRecursiveFileList( |
| 176 | const std::filesystem::path& path) { |
| 177 | std::vector<std::filesystem::path> file_list; |
| 178 | for (auto it = std::filesystem::recursive_directory_iterator(path); |
| 179 | it != std::filesystem::recursive_directory_iterator(); |
| 180 | ++it) { |
| 181 | if (std::filesystem::is_regular_file(*it)) { |
| 182 | const std::filesystem::path file_path = *it; |
| 183 | file_list.push_back(file_path); |
| 184 | } |
| 185 | } |
| 186 | return file_list; |
| 187 | } |
| 188 | |
| 189 | std::vector<std::filesystem::path> GetDirList( |
| 190 | const std::filesystem::path& path) { |
no outgoing calls