#include "storage/io_config.hpp" #include "util/log.hpp" #include #include #include namespace osrm { namespace storage { bool IOConfig::IsValid() const { bool success = true; for (auto &fileName : required_input_files) { if (!boost::filesystem::is_regular_file({base_path.string() + fileName.string()})) { util::Log(logWARNING) << "Missing/Broken File: " << base_path.string() << fileName.string(); success = false; } } return success; } } }