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

Function writeNames

include/extractor/files.hpp:477–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475
476template <typename StringTableT>
477void writeNames(const std::filesystem::path &path, const StringTableT &table)
478{
479 const auto fingerprint = storage::tar::FileWriter::GenerateFingerprint;
480 storage::tar::FileWriter writer{path, fingerprint};
481
482 serialization::write(writer, "/common/names", table);
483}
484
485template <typename NodeWeightsVectorT>
486void readEdgeBasedNodeWeights(const std::filesystem::path &path, NodeWeightsVectorT &weights)

Callers 1

WriteCharDataMethod · 0.85

Calls 1

writeFunction · 0.70

Tested by

no test coverage detected