| 304 | // reads .osrm.timestamp |
| 305 | template <typename TimestampDataT> |
| 306 | inline void readTimestamp(const std::filesystem::path &path, TimestampDataT ×tamp) |
| 307 | { |
| 308 | const auto fingerprint = storage::tar::FileReader::VerifyFingerprint; |
| 309 | storage::tar::FileReader reader{path, fingerprint}; |
| 310 | |
| 311 | storage::serialization::read(reader, "/common/timestamp", timestamp); |
| 312 | } |
| 313 | |
| 314 | // writes .osrm.timestamp |
| 315 | template <typename TimestampDataT> |
no test coverage detected