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

Function printDeleteLine

packages/utils/src/diff/joinAlignedDiffs.ts:38–56  ·  view source on GitHub ↗
(
  line: string,
  isFirstOrLast: boolean,
  {
    aColor,
    aIndicator,
    changeLineTrailingSpaceColor,
    emptyFirstOrLastLinePlaceholder,
  }: DiffOptionsNormalized,
)

Source from the content-addressed store, hash-verified

36}
37
38function printDeleteLine(
39 line: string,
40 isFirstOrLast: boolean,
41 {
42 aColor,
43 aIndicator,
44 changeLineTrailingSpaceColor,
45 emptyFirstOrLastLinePlaceholder,
46 }: DiffOptionsNormalized,
47): string {
48 return printDiffLine(
49 line,
50 isFirstOrLast,
51 aColor,
52 aIndicator,
53 changeLineTrailingSpaceColor,
54 emptyFirstOrLastLinePlaceholder,
55 )
56}
57
58function printInsertLine(
59 line: string,

Callers 2

pushDeleteLineFunction · 0.85
joinAlignedDiffsExpandFunction · 0.85

Calls 1

printDiffLineFunction · 0.85

Tested by

no test coverage detected