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

Function kept

__tests__/sync-framework-detection.test.ts:194–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192 const orchestrator = () => (cg as any).orchestrator as { detectionReads: Reads; keepDetectionContents: boolean };
193 // The files whose text is kept (a probe of a missing file keeps null).
194 const kept = () => [...orchestrator().detectionReads].filter(([, read]) => typeof read.content === 'string').map(([rel]) => rel).sort();
195
196 beforeEach(() => {
197 root = fs.realpathSync(fs.mkdtempSync(path.join(os.tmpdir(), 'cg-sync-detect-keep-')));

Calls 2

orchestratorFunction · 0.85
mapMethod · 0.80

Tested by

no test coverage detected