MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / deleteBumpFiles

Function deleteBumpFiles

packages/bumpy/src/core/bump-file.ts:318–323  ·  view source on GitHub ↗
(rootDir: string, ids: string[])

Source from the content-addressed store, hash-verified

316
317/** Delete consumed bump files */
318export async function deleteBumpFiles(rootDir: string, ids: string[]): Promise<void> {
319 const dir = getBumpyDir(rootDir);
320 for (const id of ids) {
321 await removeFile(resolve(dir, `${id}.md`));
322 }
323}
324
325function fileToId(filePath: string): string {
326 const base = filePath.split('/').pop()!;

Callers

nothing calls this directly

Calls 2

getBumpyDirFunction · 0.90
removeFileFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…