MCPcopy
hub / github.com/PowerShell/vscode-powershell / checkIfDirectoryExists

Function checkIfDirectoryExists

src/utils.ts:81–88  ·  view source on GitHub ↗
(
    directoryPath: string | vscode.Uri,
)

Source from the content-addressed store, hash-verified

79}
80
81export async function checkIfDirectoryExists(
82 directoryPath: string | vscode.Uri,
83): Promise<boolean> {
84 return await checkIfFileOrDirectoryExists(
85 directoryPath,
86 vscode.FileType.Directory,
87 );
88}
89
90export async function readDirectory(
91 directoryPath: string | vscode.Uri,

Callers 1

paths.test.tsFile · 0.90

Calls 1

Tested by

no test coverage detected