MCPcopy Create free account
hub / github.com/Snapchat/Valdi / exists

Function exists

valdi/vscode_debugger/src/common/fsUtils.ts:73–77  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

71}
72
73export function exists(path: string): Promise<boolean> {
74 return new Promise(cb => {
75 fs.exists(path, cb);
76 });
77}

Callers 12

resolveNvmVersionPathMethod · 0.90
getBinaryInFolderMethod · 0.90
resolveUnixNvmMethod · 0.90
tryGetProgramFromArgsFunction · 0.90
resolveNvmVersionPathMethod · 0.90
getBinaryInFolderMethod · 0.90
resolveUnixNvmMethod · 0.90
tryGetProgramFromArgsFunction · 0.90
getWorkingDirectoryMethod · 0.90
mainFunction · 0.50
mainFunction · 0.50

Calls 1

existsMethod · 0.65

Tested by

no test coverage detected