Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/maka
/ colorDiff
Function
colorDiff
packages/cli/src/tui-diff.ts:28–30 ·
view source on GitHub ↗
(diff: string)
Source
from the content-addressed store, hash-verified
26
27
/** Color a whole diff body, preserving line breaks. */
28
export
function
colorDiff(diff: string): string {
29
return
parseUnifiedDiffRows(diff).map(colorDiffRow).join(
'\n'
);
30
}
Callers
1
renderDiffResult
Function · 0.85
Calls
2
parseUnifiedDiffRows
Function · 0.90
join
Method · 0.80
Tested by
no test coverage detected