MCPcopy Index your code
hub / github.com/deepnote/deepnote / getStatusColor

Function getStatusColor

packages/cli/src/commands/diff.ts:407–411  ·  view source on GitHub ↗
(status: 'added' | 'removed' | 'modified', c: ChalkInstance)

Source from the content-addressed store, hash-verified

405}
406
407function getStatusColor(status: 'added' | 'removed' | 'modified', c: ChalkInstance): ChalkInstance {
408 if (status === 'added') return c.green
409 if (status === 'removed') return c.red
410 return c.yellow
411}

Callers 1

printDiffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected