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

Function writeProfileProperties

include/extractor/files.hpp:65–72  ·  view source on GitHub ↗

writes .osrm.properties

Source from the content-addressed store, hash-verified

63
64// writes .osrm.properties
65inline void writeProfileProperties(const std::filesystem::path &path,
66 const ProfileProperties &properties)
67{
68 const auto fingerprint = storage::tar::FileWriter::GenerateFingerprint;
69 storage::tar::FileWriter writer{path, fingerprint};
70
71 serialization::write(writer, "/common/properties", properties);
72}
73
74template <typename EdgeBasedEdgeVector>
75void writeEdgeBasedGraph(const std::filesystem::path &path,

Callers 1

ParseOSMDataMethod · 0.85

Calls 1

writeFunction · 0.70

Tested by

no test coverage detected