Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/codeaashu/claude-code
/ fileExists
Function
fileExists
mcp-server/src/server.ts:45–51 ·
view source on GitHub ↗
(p: string)
Source
from the content-addressed store, hash-verified
43
}
44
45
async
function
fileExists(p: string): Promise<boolean> {
46
try {
47
return
(
await
fs.stat(p)).isFile();
48
} catch {
49
return
false;
50
}
51
}
52
53
async
function
listDir(dir: string): Promise<string[]> {
54
try {
Callers
1
createServer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected