| 289 | // writes .osrm.tld |
| 290 | template <typename TurnLaneDataT> |
| 291 | inline void writeTurnLaneData(const std::filesystem::path &path, |
| 292 | const TurnLaneDataT &turn_lane_data) |
| 293 | { |
| 294 | static_assert( |
| 295 | std::is_same<typename TurnLaneDataT::value_type, util::guidance::LaneTupleIdPair>::value, |
| 296 | ""); |
| 297 | |
| 298 | const auto fingerprint = storage::tar::FileWriter::GenerateFingerprint; |
| 299 | storage::tar::FileWriter writer{path, fingerprint}; |
| 300 | |
| 301 | storage::serialization::write(writer, "/common/turn_lanes/data", turn_lane_data); |
| 302 | } |
| 303 | |
| 304 | // reads .osrm.timestamp |
| 305 | template <typename TimestampDataT> |
no test coverage detected