Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ pathExists
Function
pathExists
apps/vis/server/src/lib/import-store.ts:160–167 ·
view source on GitHub ↗
(p: string)
Source
from the content-addressed store, hash-verified
158
}
159
160
async
function
pathExists(p: string): Promise<boolean> {
161
try {
162
await
stat(p);
163
return
true;
164
} catch {
165
return
false;
166
}
167
}
Callers
2
importSessionZip
Function · 0.70
deleteImported
Function · 0.70
Calls
1
stat
Function · 0.50
Tested by
no test coverage detected