MCPcopy Create free account
hub / github.com/sergi/go-diff / equality

Struct equality

diffmatchpatch/diff.go:850–853  ·  view source on GitHub ↗

Stack of indices where equalities are found.

Source from the content-addressed store, hash-verified

848 changes := false
849 // Stack of indices where equalities are found.
850 type equality struct {
851 data int
852 next *equality
853 }
854 var equalities *equality
855 // Always equal to equalities[equalitiesLength-1][1]
856 lastequality := ""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected