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

Function NewMatcher

internal/difflib/difflib.go:100–104  ·  view source on GitHub ↗
(a, b []string)

Source from the content-addressed store, hash-verified

98}
99
100func NewMatcher(a, b []string) *SequenceMatcher {
101 m := SequenceMatcher{autoJunk: true}
102 m.SetSeqs(a, b)
103 return &m
104}
105
106func NewMatcherWithJunk(a, b []string, autoJunk bool,
107 isJunk func(string) bool) *SequenceMatcher {

Callers 9

TestSequenceMatcherRatioFunction · 0.85
TestGetOptCodesFunction · 0.85
TestGroupedOpCodesFunction · 0.85
TestWithAsciiOneInsertFunction · 0.85
TestWithAsciiOnDeleteFunction · 0.85
WriteUnifiedDiffFunction · 0.85
WriteContextDiffFunction · 0.85

Calls 1

SetSeqsMethod · 0.95

Tested by 7

TestSequenceMatcherRatioFunction · 0.68
TestGetOptCodesFunction · 0.68
TestGroupedOpCodesFunction · 0.68
TestWithAsciiOneInsertFunction · 0.68
TestWithAsciiOnDeleteFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…