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

Function saveBlock

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

Source from the content-addressed store, hash-verified

100
101 /* Add previous block(if exists) before start a new file */
102 function saveBlock(): void {
103 if (currentBlock !== null && currentFile !== null) {
104 currentFile.blocks.push(currentBlock);
105 currentBlock = null;
106 }
107 }
108
109 /*
110 * Add previous file(if exists) before start a new one

Callers 3

startFileFunction · 0.85
startBlockFunction · 0.85
parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…