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

Function isSource

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

Source from the content-addressed store, hash-verified

1645 // so change detection sees the same custom-extension files the full index does.
1646 const overrides = loadExtensionOverrides(rootDir);
1647 const isSource = (filePath: string): boolean => isSourceFile(filePath, overrides, rootDir);
1648 // A project in a folder below its repository's root (#1636). Git can say
1649 // nothing about a folder its repository ignores: decline, as the scan
1650 // 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