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

Function fileToId

packages/bumpy/src/core/bump-file.ts:325–328  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

323}
324
325function fileToId(filePath: string): string {
326 const base = filePath.split('/').pop()!;
327 return base.replace(/\.md$/, '');
328}
329
330/**
331 * Given a list of changed file paths (relative to root), extract the IDs

Callers 3

getBumpFileCreationOrderFunction · 0.85
parseBumpFileFromPathFunction · 0.85
recoverDeletedBumpFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…