MCPcopy Create free account
hub / github.com/cogentcore/core / NewDiffer

Function NewDiffer

texteditor/difflib/difflib.go:550–552  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

548}
549
550func NewDiffer() *Differ {
551 return &Differ{}
552}
553
554func (d *Differ) Compare(a []string, b []string) (diffs []string, err error) {
555 // Compare two sequences of lines; generate the resulting delta.

Callers 7

BenchmarkDifferFunction · 0.70
TestDifferCompareFunction · 0.70
TestDifferStructuredDumpFunction · 0.70
TestDifferDumpFunction · 0.70
TestDifferPlainReplaceFunction · 0.70
TestDifferQFormatFunction · 0.70

Calls

no outgoing calls

Tested by 7

BenchmarkDifferFunction · 0.56
TestDifferCompareFunction · 0.56
TestDifferStructuredDumpFunction · 0.56
TestDifferDumpFunction · 0.56
TestDifferPlainReplaceFunction · 0.56
TestDifferQFormatFunction · 0.56