source: trip-planner-front/node_modules/@angular-devkit/core/src/workspace/host.d.ts

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

initial commit

  • Property mode set to 100644
File size: 558 bytes
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 */
8import { virtualFs } from '../virtual-fs';
9export interface WorkspaceHost {
10 readFile(path: string): Promise<string>;
11 writeFile(path: string, data: string): Promise<void>;
12 isDirectory(path: string): Promise<boolean>;
13 isFile(path: string): Promise<boolean>;
14}
15export declare function createWorkspaceHost(host: virtualFs.Host): WorkspaceHost;
Note: See TracBrowser for help on using the repository browser.