MCPcopy
hub / github.com/loggerhead/json4u / delFirst

Method delFirst

src/lib/compare/histogram.ts:59–62  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

57 }
58
59 delFirst(line: string) {
60 line = line.trim();
61 this.lines.set(line, this.get(line).splice(1));
62 }
63}
64
65// HistogramDiffer implements the histogram diff algorithm.

Callers 1

findCommonLinesMethod · 0.80

Calls 2

getMethod · 0.95
setMethod · 0.80

Tested by

no test coverage detected