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

Method GetSourceName

include/extractor/datasources.hpp:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 }
25
26 std::string_view GetSourceName(DatasourceID id) const
27 {
28 auto begin = sources.data() + (MAX_LENGTH_NAME * id);
29
30 return std::string_view{begin, lengths[id]};
31 }
32
33 void SetSourceName(DatasourceID id, const std::string &name)
34 {

Callers 1

GetDatasourceNameMethod · 0.80

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected