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