MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / GetMissingFiles

Method GetMissingFiles

src/storage/io_config.cpp:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27std::vector<std::string> IOConfig::GetMissingFiles() const
28{
29 std::vector<std::string> missingFiles;
30 for (auto &fileName : required_input_files)
31 {
32 if (!fs::is_regular_file(fs::path(base_path.string() + fileName.string())))
33 {
34 missingFiles.push_back(base_path.string() + fileName.string());
35 }
36 }
37 return missingFiles;
38}
39} // namespace osrm::storage

Callers 1

OSRMMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected