MCPcopy Index your code
hub / github.com/dmno-dev/bumpy / getFilesChangedInCommit

Function getFilesChangedInCommit

packages/bumpy/src/core/git.ts:190–194  ·  view source on GitHub ↗
(hash: string, opts?: { cwd?: string })

Source from the content-addressed store, hash-verified

188
189/** Get files changed in a specific commit */
190export function getFilesChangedInCommit(hash: string, opts?: { cwd?: string }): string[] {
191 const result = tryRunArgs(['git', 'diff-tree', '--no-commit-id', '--name-only', '-r', hash], opts);
192 if (!result) return [];
193 return result.split('\n').filter(Boolean);
194}
195
196/** Get the git status of files in a directory (staged, unstaged, untracked) */
197export function getFileStatuses(

Callers 1

generateCommandFunction · 0.90

Calls 1

tryRunArgsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…