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

Method merge

packages/angular_devkit/schematics/src/tree/scoped.ts:120–130  ·  view source on GitHub ↗
(other: Tree, strategy?: MergeStrategy)

Source from the content-addressed store, hash-verified

118 return new ScopedTree(this._base.branch(), this._root.scope);
119 }
120 merge(other: Tree, strategy?: MergeStrategy): void {
121 // eslint-disable-next-line @typescript-eslint/no-this-alias
122 const self = this;
123 const delegate = new (class extends DelegateTree {
124 override get actions(): Action[] {
125 return other.actions.map((action) => self._fullPathAction(action));
126 }
127 })(other);
128
129 this._base.merge(delegate, strategy);
130 }
131
132 // Readonly.
133 read(path: string): Buffer | null {

Callers

nothing calls this directly

Calls 1

mergeMethod · 0.65

Tested by

no test coverage detected