MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / loadMap

Method loadMap

lib/mapfiles/map-file.ts:452–456  ·  view source on GitHub ↗

* Reads the actual mapfile from disk synchronously and load it into this class

()

Source from the content-addressed store, hash-verified

450 * Reads the actual mapfile from disk synchronously and load it into this class
451 */
452 loadMap() {
453 const data = fs.readFileSync(this.mapFilename);
454
455 this.loadMapFromString(data.toString());
456 }
457}

Callers 1

runMethod · 0.95

Calls 2

loadMapFromStringMethod · 0.95
toStringMethod · 0.80

Tested by

no test coverage detected