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

Function checkIfFileExists

src/utils.ts:75–79  ·  view source on GitHub ↗
(
    filePath: string | vscode.Uri,
)

Source from the content-addressed store, hash-verified

73}
74
75export async function checkIfFileExists(
76 filePath: string | vscode.Uri,
77): Promise<boolean> {
78 return await checkIfFileOrDirectoryExists(filePath, vscode.FileType.File);
79}
80
81export async function checkIfDirectoryExists(
82 directoryPath: string | vscode.Uri,

Callers 2

paths.test.tsFile · 0.90

Calls 1

Tested by

no test coverage detected