MCPcopy 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
160async function pathExists(p: string): Promise<boolean> {
161 try {
162 await stat(p);
163 return true;
164 } catch {
165 return false;
166 }
167}

Callers 2

importSessionZipFunction · 0.70
deleteImportedFunction · 0.70

Calls 1

statFunction · 0.50

Tested by

no test coverage detected