MCPcopy Index your code
hub / github.com/angular/angular-cli / asSource

Function asSource

packages/angular_devkit/schematics/src/rules/base.ts:85–87  ·  view source on GitHub ↗
(rule: Rule)

Source from the content-addressed store, hash-verified

83}
84
85export function asSource(rule: Rule): Source {
86 return (context) => callRule(rule, staticEmpty(), context);
87}
88
89export function branchAndMerge(rule: Rule, strategy: MergeStrategy = MergeStrategy.Default): Rule {
90 return (tree, context) => {

Callers

nothing calls this directly

Calls 1

callRuleFunction · 0.90

Tested by

no test coverage detected