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

Function isHeaderFile

src/graph/dead-code.ts:771–774  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

769
770/** A file whose contents are declarations for somebody else — see {@link HEADER_EXTENSIONS}. */
771export function isHeaderFile(filePath: string): boolean {
772 const lower = filePath.toLowerCase();
773 return HEADER_EXTENSIONS.some((ext) => lower.endsWith(ext));
774}
775
776/** A qualified name that runs through a test scope — see {@link TEST_SCOPE_SEGMENTS}. */
777export function isTestScope(qualifiedName: string): boolean {

Callers 2

dead-code.test.tsFile · 0.90
buildDeadCodeReportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected