Module "api/mapping/support/defaultPredicateMappingCostAnalyzer"
Variables
Const ExpensiveSigns
Expensive
Signs: Array<(pm: PredicateMapping<any>) => boolean> = [pm => mappingCodeIncludes(pm, "await "),pm => mappingCodeIncludes(pm, ".project"),pm => mappingCodeIncludes(pm, ".graphClient"),pm => mappingCodeIncludes(pm, ".totalFileCount"),pm => mappingCodeIncludes(pm, ".doWithFiles"),pm => mappingCodeIncludes(pm, ".getFile", ".findFile"),pm => mappingCodeIncludes(pm, ".stream"),pm => mappingCodeIncludes(pm, "findMatches", "findFileMatches", "doWithMatches", "doWithFileMatches"),]
Functions
Const DefaultPredicateMappingCostAnalyzer
mappingCodeIncludes
-
Parameters
-
-
Rest ...patterns: string[]
Returns boolean
Indications that evaluating this test may be expensive