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

Method isDampedDeclaration

src/mcp/tools.ts:5162–5163  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

5160 // ranks at full weight.
5161 const isAmbientDeclaration = cg.ambientDeclarationFilePredicate(penaltyCandidates);
5162 const isDampedDeclaration = (filePath: string): boolean =>
5163 isAmbientDeclaration(filePath) && !namedTypeFiles.has(filePath);
5164
5165 /**
5166 * Rank penalty for a file, applied to its relevance score AND (below) to its

Callers

nothing calls this directly

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected