MCPcopy Create free account
hub / github.com/banga/git-split-diffs / flushLine

Function flushLine

src/wrapSpannedStringByWord.ts:22–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 let curLineEnd = 0;
21
22 function flushLine() {
23 lineBreaks.push(curLineEnd);
24 budget = width;
25 }
26
27 function pushWord(startIndex: number, endIndex: number) {
28 let wordWidth = 0;

Callers 2

pushWordFunction · 0.85
getLineBreaksForStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected