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

Function scan

__tests__/include-config.test.ts:114–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112 const writeConfig = (obj: unknown) =>
113 fs.writeFileSync(path.join(dir, 'codegraph.json'), JSON.stringify(obj));
114 const scan = () => scanDirectory(dir).map((f) => f.replace(/\\/g, '/'));
115
116 beforeEach(() => {
117 dir = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-include-scan-'));

Callers 1

Calls 1

scanDirectoryFunction · 0.90

Tested by

no test coverage detected