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

Method ambientDeclarationFilePredicate

src/index.ts:3063–3065  ·  view source on GitHub ↗

* A `(path) => boolean` ambient-declaration test over a BOUNDED candidate * list: true for a file that declares nothing but types, originates no call * edge, and that nothing in the index depends on — an ambient `.d.ts` of * global shims, vendored typings, module augmentation (CG-28). Struc

(filePaths: Iterable<string>)

Source from the content-addressed store, hash-verified

3061 * there, in particular why a `types.ts` the codebase imports is NOT flagged.
3062 */
3063 ambientDeclarationFilePredicate(filePaths: Iterable<string>): (filePath: string) => boolean {
3064 return this.queries.ambientDeclarationPredicateFor(filePaths);
3065 }
3066
3067 /** How many indexed files are flagged tool-generated. Reported by `status`. */
3068 getGeneratedFileCount(): number {

Callers 2

handleExploreMethod · 0.80

Calls 1

Tested by

no test coverage detected