Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
73
export
function
exists(path: string): Promise<boolean> {
74
return
new
Promise(cb => {
75
fs.exists(path, cb);
76
});
77
}
Callers
12
resolveNvmVersionPath
Method · 0.90
getBinaryInFolder
Method · 0.90
resolveUnixNvm
Method · 0.90
tryGetProgramFromArgs
Function · 0.90
resolveNvmVersionPath
Method · 0.90
getBinaryInFolder
Method · 0.90
resolveUnixNvm
Method · 0.90
tryGetProgramFromArgs
Function · 0.90
getWorkingDirectory
Method · 0.90
nearestDirectoryContaining
Function · 0.90
main
Function · 0.50
main
Function · 0.50
Calls
1
exists
Method · 0.65
Tested by
no test coverage detected