source: trip-planner-front/node_modules/@angular-devkit/schematics/src/tree/delegate.js@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.7 KB
Line 
1"use strict";
2/**
3 * @license
4 * Copyright Google LLC All Rights Reserved.
5 *
6 * Use of this source code is governed by an MIT-style license that can be
7 * found in the LICENSE file at https://angular.io/license
8 */
9Object.defineProperty(exports, "__esModule", { value: true });
10exports.DelegateTree = void 0;
11const interface_1 = require("./interface");
12class DelegateTree {
13 constructor(_other) {
14 this._other = _other;
15 }
16 branch() {
17 return this._other.branch();
18 }
19 merge(other, strategy) {
20 this._other.merge(other, strategy);
21 }
22 get root() {
23 return this._other.root;
24 }
25 // Readonly.
26 read(path) {
27 return this._other.read(path);
28 }
29 exists(path) {
30 return this._other.exists(path);
31 }
32 get(path) {
33 return this._other.get(path);
34 }
35 getDir(path) {
36 return this._other.getDir(path);
37 }
38 visit(visitor) {
39 return this._other.visit(visitor);
40 }
41 // Change content of host files.
42 overwrite(path, content) {
43 return this._other.overwrite(path, content);
44 }
45 beginUpdate(path) {
46 return this._other.beginUpdate(path);
47 }
48 commitUpdate(record) {
49 return this._other.commitUpdate(record);
50 }
51 // Structural methods.
52 create(path, content) {
53 return this._other.create(path, content);
54 }
55 delete(path) {
56 return this._other.delete(path);
57 }
58 rename(from, to) {
59 return this._other.rename(from, to);
60 }
61 apply(action, strategy) {
62 return this._other.apply(action, strategy);
63 }
64 get actions() {
65 return this._other.actions;
66 }
67 [interface_1.TreeSymbol]() {
68 return this;
69 }
70}
71exports.DelegateTree = DelegateTree;
Note: See TracBrowser for help on using the repository browser.