Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "api/mapping/support/defaultPredicateMappingCostAnalyzer"

Index

Variables

Const ExpensiveSigns

ExpensiveSigns: 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"),]

Indications that evaluating this test may be expensive

Functions

Const DefaultPredicateMappingCostAnalyzer

mappingCodeIncludes

  • mappingCodeIncludes(pm: PredicateMapping<any>, ...patterns: string[]): boolean

Generated using TypeDoc