MCPcopy Create free account
hub / github.com/comaps/comaps / UpdateMetadataValue

Method UpdateMetadataValue

libs/indexer/editable_map_object.cpp:377–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377bool EditableMapObject::UpdateMetadataValue(string_view key, string value)
378{
379 MetadataID type;
380 if (!feature::Metadata::TypeFromString(key, type))
381 return false;
382
383 SetMetadata(type, std::move(value));
384 return true;
385}
386
387void EditableMapObject::SetOpeningHours(std::string oh)
388{

Callers

nothing calls this directly

Calls 1

TypeFromStringFunction · 0.85

Tested by

no test coverage detected