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

Method pushSubstring

packages/utils/src/diff/getAlignedDiffs.ts:46–48  ·  view source on GitHub ↗
(substring: string)

Source from the content-addressed store, hash-verified

44 }
45
46 private pushSubstring(substring: string): void {
47 this.pushDiff(new Diff(this.op, substring))
48 }
49
50 private pushLine(): void {
51 // Assume call only if line has at least one diff,

Callers 1

alignMethod · 0.95

Calls 1

pushDiffMethod · 0.95

Tested by

no test coverage detected