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

Method generatedFilePredicate

src/index.ts:1618–1620  ·  view source on GitHub ↗

* A `(path) => boolean` generated-file test over a BOUNDED candidate list, * unioning the index-time content-banner flag with the filename convention * (#1500). One query up front, O(1) per call after — built for use inside a * ranking comparator, where re-querying per comparison would be q

(filePaths: Iterable<string>)

Source from the content-addressed store, hash-verified

1616 * the filename check alone.
1617 */
1618 generatedFilePredicate(filePaths: Iterable<string>): (filePath: string) => boolean {
1619 return this.queries.generatedPredicateFor(filePaths);
1620 }
1621
1622 /**
1623 * A `(path) => boolean` ambient-declaration test over a BOUNDED candidate

Callers 6

handleSearchMethod · 0.80
handleExploreMethod · 0.80
findSymbolMatchesMethod · 0.80
findAllSymbolsMethod · 0.80
mainFunction · 0.80

Calls 1

generatedPredicateForMethod · 0.80

Tested by

no test coverage detected