MCPcopy Index your code
hub / github.com/rtfpessoa/diff2html / startFile

Function startFile

src/diff-parser.ts:134–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132
133 /* Create file structure */
134 function startFile(): void {
135 saveBlock();
136 saveFile();
137
138 // eslint-disable-next-line
139 // @ts-ignore
140 currentFile = {
141 blocks: [],
142 deletedLines: 0,
143 addedLines: 0,
144 };
145 }
146
147 function startBlock(line: string): void {
148 saveBlock();

Callers 1

parseFunction · 0.85

Calls 2

saveBlockFunction · 0.85
saveFileFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…