MCPcopy Index your code
hub / github.com/nodejs/node / esm-snapshot-mutator.js

File esm-snapshot-mutator.js

test/fixtures/es-modules/esm-snapshot-mutator.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1'use strict';
2const shouldSnapshotFilePath = require.resolve('./esm-snapshot.js');
3require('./esm-snapshot.js');
4require.cache[shouldSnapshotFilePath].exports++;

Callers

nothing calls this directly

Calls 2

requireFunction · 0.70
resolveMethod · 0.45

Tested by

no test coverage detected