MCPcopy Create free account
hub / github.com/vitest-dev/vitest / pushDeleteLine

Function pushDeleteLine

packages/utils/src/diff/joinAlignedDiffs.ts:195–199  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

193 }
194
195 const pushDeleteLine = (line: string): void => {
196 const j = lines.length
197 lines.push(printDeleteLine(line, j === 0 || j === jLast, options))
198 aEnd += 1
199 }
200
201 const pushInsertLine = (line: string): void => {
202 const j = lines.length

Callers 1

joinAlignedDiffsNoExpandFunction · 0.85

Calls 1

printDeleteLineFunction · 0.85

Tested by

no test coverage detected