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

Function isHeaderFile

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

Source from the content-addressed store, hash-verified

773
774/** A file whose contents are declarations for somebody else — see {@link HEADER_EXTENSIONS}. */
775export function isHeaderFile(filePath: string): boolean {
776 const lower = filePath.toLowerCase();
777 return HEADER_EXTENSIONS.some((ext) => lower.endsWith(ext));
778}
779
780/** A qualified name that runs through a test scope — see {@link TEST_SCOPE_SEGMENTS}. */
781export 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