MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / exists

Function exists

src/skills/learning/eval.ts:172–172  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

170}
171function hash(s: string): number { let h = 0; for (let i = 0; i < s.length; i++) h = (h * 31 + s.charCodeAt(i)) | 0; return h; }
172async function exists(p: string): Promise<boolean> { try { await fs.access(p); return true; } catch { return false; } }

Callers 2

codebaseFitScoreFunction · 0.70
evalSkillMdFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected