| 417 | // writes .osrm.restrictions |
| 418 | template <typename ConditionalRestrictionsT> |
| 419 | inline void writeConditionalRestrictions(const std::filesystem::path &path, |
| 420 | const ConditionalRestrictionsT &conditional_restrictions) |
| 421 | { |
| 422 | const auto fingerprint = storage::tar::FileWriter::GenerateFingerprint; |
| 423 | storage::tar::FileWriter writer{path, fingerprint}; |
| 424 | |
| 425 | serialization::write(writer, "/common/conditional_restrictions", conditional_restrictions); |
| 426 | } |
| 427 | |
| 428 | // read .osrm.restrictions |
| 429 | template <typename ConditionalRestrictionsT> |
no test coverage detected