MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / deleteEntry

Function deleteEntry

src/runtime/registry.ts:225–231  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

223}
224
225export function deleteEntry(dir: string): void {
226 ensureRegistryReady();
227 const entryPath = getEntryPath(dir);
228 if (fs.existsSync(entryPath)) {
229 fs.unlinkSync(entryPath);
230 }
231}
232
233export function readRegistry(): RegistryData {
234 return { packs: readAll() };

Callers

nothing calls this directly

Calls 2

ensureRegistryReadyFunction · 0.85
getEntryPathFunction · 0.85

Tested by

no test coverage detected