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

Function printBumpFileList

packages/bumpy/src/commands/check.ts:222–238  ·  view source on GitHub ↗
(
  ids: string[],
  bumpyRelDir: string,
  statuses: Map<string, 'committed' | 'staged' | 'untracked'>,
)

Source from the content-addressed store, hash-verified

220}
221
222function printBumpFileList(
223 ids: string[],
224 bumpyRelDir: string,
225 statuses: Map<string, 'committed' | 'staged' | 'untracked'>,
226): void {
227 log.dim('Bump files on this branch:');
228 for (const id of ids) {
229 const status = statuses.get(id);
230 const statusLabel =
231 status === 'staged'
232 ? colorize(' (staged)', 'yellow')
233 : status === 'untracked'
234 ? colorize(' (untracked)', 'yellow')
235 : '';
236 log.dim(` ${bumpyRelDir}/${id}.md${statusLabel}`);
237 }
238}
239
240/** Map changed files to the packages they belong to */
241export async function findChangedPackages(

Callers 1

checkCommandFunction · 0.85

Calls 1

colorizeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…