()
| 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(); |