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

Method isDampedDeclaration

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

Source from the content-addressed store, hash-verified

5104 // ranks at full weight.
5105 const isAmbientDeclaration = cg.ambientDeclarationFilePredicate(penaltyCandidates);
5106 const isDampedDeclaration = (filePath: string): boolean =>
5107 isAmbientDeclaration(filePath) && !namedTypeFiles.has(filePath);
5108
5109 /**
5110 * 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