MCPcopy Create free account
hub / github.com/colmap/colmap / GetRecursiveFileList

Function GetRecursiveFileList

src/colmap/util/file.cc:175–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175std::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
189std::vector<std::filesystem::path> GetDirList(
190 const std::filesystem::path& path) {

Callers 3

TESTFunction · 0.85
ImageReaderMethod · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68