MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / addReadOnlyLocation

Method addReadOnlyLocation

src/core/storage_location.cpp:191–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 };
190
191 void addReadOnlyLocation(const QString& path)
192 {
193 auto hint = storageAccessGranted() ? StorageLocation::HintReadOnly : StorageLocation::HintNoAccess;
194 data.emplace_back(path, hint);
195 };
196 } locations;
197
198 // API level 1, single primary external storage

Callers 1

knownLocationsFunction · 0.80

Calls 1

storageAccessGrantedFunction · 0.85

Tested by

no test coverage detected