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

Function isSource

src/extraction/index.ts:1663–1663  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

1661 // so change detection sees the same custom-extension files the full index does.
1662 const overrides = loadExtensionOverrides(rootDir);
1663 const isSource = (filePath: string): boolean => isSourceFile(filePath, overrides, rootDir);
1664 // A project in a folder below its repository's root (#1636). Git can say
1665 // nothing about a folder its repository ignores: decline, as the scan
1666 // does, so callers take the full scan that indexed the project.

Callers 1

classifyFunction · 0.85

Calls 1

isSourceFileFunction · 0.90

Tested by

no test coverage detected