source: trip-planner-front/node_modules/@angular-devkit/schematics/src/tree/delegate.d.ts@ 8d391a1

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

initial commit

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8/// <reference types="node" />
9import { Action } from './action';
10import { DirEntry, FileEntry, FileVisitor, MergeStrategy, Tree, UpdateRecorder } from './interface';
11export declare class DelegateTree implements Tree {
12 protected _other: Tree;
13 constructor(_other: Tree);
14 branch(): Tree;
15 merge(other: Tree, strategy?: MergeStrategy): void;
16 get root(): DirEntry;
17 read(path: string): Buffer | null;
18 exists(path: string): boolean;
19 get(path: string): FileEntry | null;
20 getDir(path: string): DirEntry;
21 visit(visitor: FileVisitor): void;
22 overwrite(path: string, content: Buffer | string): void;
23 beginUpdate(path: string): UpdateRecorder;
24 commitUpdate(record: UpdateRecorder): void;
25 create(path: string, content: Buffer | string): void;
26 delete(path: string): void;
27 rename(from: string, to: string): void;
28 apply(action: Action, strategy?: MergeStrategy): void;
29 get actions(): Action[];
30}
Note: See TracBrowser for help on using the repository browser.