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

Function probe

__tests__/query-paths.test.ts:253–259  ·  view source on GitHub ↗
(onDisk: readonly string[])

Source from the content-addressed store, hash-verified

251describe('extractQueryPaths — dotless slashed spans, decided on disk', () => {
252 /** Records every span the predicate is asked about. */
253 const probe = (onDisk: readonly string[]) => {
254 const asked: string[] = [];
255 return {
256 asked,
257 existsOnDisk: (rel: string) => { asked.push(rel); return onDisk.includes(rel); },
258 };
259 };
260
261 it('reports a dotless path that exists on disk but is not indexed', () => {
262 const p = probe(['scripts/deploy']);

Callers 4

buildDetectionContextMethod · 0.50
pollForDaemonFunction · 0.50
waitForFunction · 0.50

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected