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

Function errResult

src/skills/learning/eval.ts:168–170  ·  view source on GitHub ↗
(model: string, note: string)

Source from the content-addressed store, hash-verified

166}
167
168function errResult(model: string, note: string): EvalResult {
169 return { status: 'error', errorCount: 0, filesChanged: 0, model, at: new Date().toISOString(), note };
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 1

evalSkillMdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected