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

Function tallySkip

src/extraction/index.ts:1939–1944  ·  view source on GitHub ↗

Record one file the scan declined to index.

(stats: ScanSkipStats | undefined, rel: string)

Source from the content-addressed store, hash-verified

1937
1938/** Record one file the scan declined to index. */
1939function tallySkip(stats: ScanSkipStats | undefined, rel: string): void {
1940 if (!stats) return;
1941 const ext = path.extname(rel).toLowerCase();
1942 if (!ext) return;
1943 stats.unsupportedByExtension.set(ext, (stats.unsupportedByExtension.get(ext) ?? 0) + 1);
1944}
1945
1946export async function scanDirectoryAsync(
1947 rootDir: string,

Callers 2

scanDirectoryAsyncFunction · 0.85
walkFunction · 0.85

Calls 2

getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected