MCPcopy Index your code
hub / github.com/expr-lang/expr / SetSeq2

Method SetSeq2

internal/difflib/difflib.go:140–149  ·  view source on GitHub ↗

Set the second sequence to be compared. The first sequence to be compared is not changed.

(b []string)

Source from the content-addressed store, hash-verified

138// Set the second sequence to be compared. The first sequence to be compared is
139// not changed.
140func (m *SequenceMatcher) SetSeq2(b []string) {
141 if &b == &m.b {
142 return
143 }
144 m.b = b
145 m.matchingBlocks = nil
146 m.opCodes = nil
147 m.fullBCount = nil
148 m.chainB()
149}
150
151func (m *SequenceMatcher) chainB() {
152 // Populate line -> index mapping

Callers 1

SetSeqsMethod · 0.95

Calls 1

chainBMethod · 0.95

Tested by

no test coverage detected