MCPcopy Create free account
hub / github.com/Wirasm/kild / removeProject

Function removeProject

engine/src/kild/projects.ts:31–35  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

29 if ((err as NodeJS.ErrnoException).code === 'ENOENT') return [];
30 throw err;
31 }
32 let parsed: unknown;
33 try {
34 parsed = JSON.parse(raw);
35 } catch {
36 return []; // unreadable registry → no projects, not a crashed request
37 }
38 // Accept the canonical `{projects: [...]}`, and tolerate a bare array, which is what a

Callers 1

projectFunction · 0.90

Calls 3

kildHomeFunction · 0.90
loadProjectsFunction · 0.85
projectsFileFunction · 0.85

Tested by

no test coverage detected