aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/host.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/host.d.ts')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/host.d.ts29
1 files changed, 29 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/host.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/host.d.ts
new file mode 100644
index 00000000..3f2934c4
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/host.d.ts
@@ -0,0 +1,29 @@
+/**
+ * @license
+ * Copyright Google LLC All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+/// <reference types="node" />
+import { Path, virtualFs } from '@angular-devkit/core';
+import { Observable } from 'rxjs';
+import { CreateFileAction } from '../tree/action';
+import { UpdateBufferBase } from '../utility/update-buffer';
+import { SimpleSinkBase } from './sink';
+export declare class HostSink extends SimpleSinkBase {
+ protected _host: virtualFs.Host;
+ protected _force: boolean;
+ protected _filesToDelete: Set<Path>;
+ protected _filesToRename: Set<[Path, Path]>;
+ protected _filesToCreate: Map<Path, UpdateBufferBase>;
+ protected _filesToUpdate: Map<Path, UpdateBufferBase>;
+ constructor(_host: virtualFs.Host, _force?: boolean);
+ protected _validateCreateAction(action: CreateFileAction): Observable<void>;
+ protected _validateFileExists(p: Path): Observable<boolean>;
+ protected _overwriteFile(path: Path, content: Buffer): Observable<void>;
+ protected _createFile(path: Path, content: Buffer): Observable<void>;
+ protected _renameFile(from: Path, to: Path): Observable<void>;
+ protected _deleteFile(path: Path): Observable<void>;
+ _done(): Observable<void>;
+}