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

Method resetOSM

features/support/data.js:228–236  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

226 }
227
228 resetOSM() {
229 this.OSMDB.clear();
230 this.nameNodeHash = {};
231 this.locationHash = {};
232 this.shortcutsHash = {};
233 this.nameWayHash = {};
234 this.nameRelationHash = {};
235 this.osmID = 0;
236 }
237
238 writeOSM() {
239 if (fs.existsSync(this.osmCacheFile))

Callers 1

setupCurrentScenarioMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected