MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / require0

Function require0

scripts/agent-eval/parse-run.mjs:1356–1356  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

1354}
1355// `--selftest` needs sync fs helpers the module path doesn't import at top level.
1356function require0(m) { return process.getBuiltinModule(m); }
1357
1358const isMain = process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href;
1359if (isMain && process.argv.includes('--selftest')) process.exit(selftest() ? 1 : 0);

Callers 1

selftestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected