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

Method SetSeqs

texteditor/difflib/difflib.go:111–114  ·  view source on GitHub ↗

SetSeqs sets two sequences to be compared.

(a, b []string)

Source from the content-addressed store, hash-verified

109
110// SetSeqs sets two sequences to be compared.
111func (m *SequenceMatcher) SetSeqs(a, b []string) {
112 m.SetSeq1(a)
113 m.SetSeq2(b)
114}
115
116// SetSeq1 sets the first sequence to be compared. The second sequence to be compared is
117// 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