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

Method SetSeqs

texteditor/difflib/bytes/bytes.go:201–204  ·  view source on GitHub ↗

SetSeqs sets two sequences to be compared.

(a, b [][]byte)

Source from the content-addressed store, hash-verified

199
200// SetSeqs sets two sequences to be compared.
201func (m *SequenceMatcher) SetSeqs(a, b [][]byte) {
202 m.SetSeq1(a)
203 m.SetSeq2(b)
204}
205
206// SetSeq1 sets the first sequence to be compared. The second sequence to be compared is
207// not changed.

Callers 3

NewMatcherFunction · 0.95
NewMatcherWithJunkFunction · 0.95
FancyReplaceMethod · 0.45

Calls 2

SetSeq1Method · 0.95
SetSeq2Method · 0.95

Tested by

no test coverage detected