@ts-common/azure-js-dev-tools
Version:
Developer dependencies for TypeScript related projects
18 lines • 899 B
TypeScript
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
export declare function getChildDirectories(parent: string): Promise<string[]>;
export declare function getChildDirectoriesSync(parent: string): string[];
export declare function findAzureRestApiSpecsRepositoryPathSync(): string | undefined;
export declare function isDirectory(directoryPath: string): Promise<boolean>;
export declare function isDirectorySync(directoryPath: string): boolean;
/**
* Get whether or not a file exists at the provided path.
* @param filePath The path to check.
* @returns Whether or not a file exists at the provided path.
*/
export declare function isFileSync(filePath: string): boolean;
export declare function pathExists(path: string): Promise<boolean>;
//# sourceMappingURL=filesystem.d.ts.map