type github.com/sergi/go-diff/diffmatchpatch.Diff

93 uses

	github.com/sergi/go-diff/diffmatchpatch (current package)
		diff.go#L40: type Diff struct {
		diff.go#L46: func splice(slice []Diff, index int, amount int, elements ...Diff) []Diff {
		diff.go#L63: 			tail[i] = Diff{}
		diff.go#L73: 		slice = append(slice, Diff{})
		diff.go#L84: func (dmp *DiffMatchPatch) DiffMain(text1, text2 string, checklines bool) []Diff {
		diff.go#L90: func (dmp *DiffMatchPatch) DiffMainRunes(text1, text2 []rune, checklines bool) []Diff {
		diff.go#L98: func (dmp *DiffMatchPatch) diffMainRunes(text1, text2 []rune, checklines bool, deadline time.Time) []Diff {
		diff.go#L100: 		var diffs []Diff
		diff.go#L102: 			diffs = append(diffs, Diff{DiffEqual, string(text1)})
		diff.go#L123: 		diffs = append([]Diff{Diff{DiffEqual, string(commonprefix)}}, diffs...)
		diff.go#L126: 		diffs = append(diffs, Diff{DiffEqual, string(commonsuffix)})
		diff.go#L133: func (dmp *DiffMatchPatch) diffCompute(text1, text2 []rune, checklines bool, deadline time.Time) []Diff {
		diff.go#L134: 	diffs := []Diff{}
		diff.go#L137: 		return append(diffs, Diff{DiffInsert, string(text2)})
		diff.go#L140: 		return append(diffs, Diff{DiffDelete, string(text1)})
		diff.go#L159: 		return []Diff{
		diff.go#L160: 			Diff{op, string(longtext[:i])},
		diff.go#L161: 			Diff{DiffEqual, string(shorttext)},
		diff.go#L162: 			Diff{op, string(longtext[i+len(shorttext):])},
		diff.go#L167: 		return []Diff{
		diff.go#L168: 			Diff{DiffDelete, string(text1)},
		diff.go#L169: 			Diff{DiffInsert, string(text2)},
		diff.go#L184: 		diffs = append(diffs, Diff{DiffEqual, string(midCommon)})
		diff.go#L194: func (dmp *DiffMatchPatch) diffLineMode(text1, text2 []rune, deadline time.Time) []Diff {
		diff.go#L207: 	diffs = append(diffs, Diff{DiffEqual, ""})
		diff.go#L254: func (dmp *DiffMatchPatch) DiffBisect(text1, text2 string, deadline time.Time) []Diff {
		diff.go#L261: func (dmp *DiffMatchPatch) diffBisect(runes1, runes2 []rune, deadline time.Time) []Diff {
		diff.go#L370: 	return []Diff{
		diff.go#L371: 		Diff{DiffDelete, string(runes1)},
		diff.go#L372: 		Diff{DiffInsert, string(runes2)},
		diff.go#L377: 	deadline time.Time) []Diff {
		diff.go#L445: func (dmp *DiffMatchPatch) DiffCharsToLines(diffs []Diff, lineArray []string) []Diff {
		diff.go#L446: 	hydrated := make([]Diff, 0, len(diffs))
		diff.go#L647: func (dmp *DiffMatchPatch) DiffCleanupSemantic(diffs []Diff) []Diff {
		diff.go#L685: 				diffs = splice(diffs, insPoint, 0, Diff{DiffDelete, lastequality})
		diff.go#L735: 					diffs = splice(diffs, pointer, 0, Diff{DiffEqual, insertion[:overlapLength1]})
		diff.go#L745: 					overlap := Diff{DiffEqual, deletion[:overlapLength2]}
		diff.go#L815: func (dmp *DiffMatchPatch) DiffCleanupSemanticLossless(diffs []Diff) []Diff {
		diff.go#L888: func (dmp *DiffMatchPatch) DiffCleanupEfficiency(diffs []Diff) []Diff {
		diff.go#L959: 				diffs = splice(diffs, insPoint, 0, Diff{DiffDelete, lastequality})
		diff.go#L999: func (dmp *DiffMatchPatch) DiffCleanupMerge(diffs []Diff) []Diff {
		diff.go#L1001: 	diffs = append(diffs, Diff{DiffEqual, ""})
		diff.go#L1032: 							diffs = append([]Diff{Diff{DiffEqual, string(textInsert[:commonlength])}}, diffs...)
		diff.go#L1052: 						Diff{DiffInsert, string(textInsert)})
		diff.go#L1056: 						Diff{DiffDelete, string(textDelete)})
		diff.go#L1060: 						Diff{DiffDelete, string(textDelete)},
		diff.go#L1061: 						Diff{DiffInsert, string(textInsert)})
		diff.go#L1126: func (dmp *DiffMatchPatch) DiffXIndex(diffs []Diff, loc int) int {
		diff.go#L1131: 	lastDiff := Diff{}
		diff.go#L1160: func (dmp *DiffMatchPatch) DiffPrettyHtml(diffs []Diff) string {
		diff.go#L1183: func (dmp *DiffMatchPatch) DiffPrettyText(diffs []Diff) string {
		diff.go#L1206: func (dmp *DiffMatchPatch) DiffText1(diffs []Diff) string {
		diff.go#L1219: func (dmp *DiffMatchPatch) DiffText2(diffs []Diff) string {
		diff.go#L1231: func (dmp *DiffMatchPatch) DiffLevenshtein(diffs []Diff) int {
		diff.go#L1256: func (dmp *DiffMatchPatch) DiffToDelta(diffs []Diff) string {
		diff.go#L1287: func (dmp *DiffMatchPatch) DiffFromDelta(text1 string, delta string) (diffs []Diff, err error) {
		diff.go#L1312: 			diffs = append(diffs, Diff{DiffInsert, param})
		diff.go#L1330: 				diffs = append(diffs, Diff{DiffEqual, text})
		diff.go#L1332: 				diffs = append(diffs, Diff{DiffDelete, text})
		patch.go#L23: 	diffs   []Diff
		patch.go#L96: 		patch.diffs = append([]Diff{Diff{DiffEqual, prefix}}, patch.diffs...)
		patch.go#L101: 		patch.diffs = append(patch.diffs, Diff{DiffEqual, suffix})
		patch.go#L117: 		diffs, _ := opt[0].([]Diff)
		patch.go#L130: 		case []Diff:
		patch.go#L141: func (dmp *DiffMatchPatch) patchMake2(text1 string, diffs []Diff) []Patch {
		patch.go#L217: 			patchCopy.diffs = append(patchCopy.diffs, Diff{
		patch.go#L339: 		patches[0].diffs = append([]Diff{Diff{DiffEqual, nullPadding}}, patches[0].diffs...)
		patch.go#L358: 		patches[last].diffs = append(patches[last].diffs, Diff{DiffEqual, nullPadding})
		patch.go#L398: 				patch.diffs = append(patch.diffs, Diff{DiffEqual, precontext})
		patch.go#L415: 					patch.diffs = append(patch.diffs, Diff{diffType, diffText})
		patch.go#L429: 					patch.diffs = append(patch.diffs, Diff{diffType, diffText})
		patch.go#L456: 					patch.diffs = append(patch.diffs, Diff{DiffEqual, postcontext})
		patch.go#L536: 				patch.diffs = append(patch.diffs, Diff{DiffDelete, line})
		patch.go#L539: 				patch.diffs = append(patch.diffs, Diff{DiffInsert, line})
		patch.go#L542: 				patch.diffs = append(patch.diffs, Diff{DiffEqual, line})

	github.com/go-git/go-git/v5
		references.go#L208: func patch(c *object.Commit, path string) ([]diffmatchpatch.Diff, error) {
		references.go#L240: func sameDiffs(a, b []diffmatchpatch.Diff) bool {
		references.go#L252: func sameDiff(a, b diffmatchpatch.Diff) bool {

	github.com/go-git/go-git/v5/utils/diff
		diff.go#L20: func Do(src, dst string) (diffs []diffmatchpatch.Diff) {
		diff.go#L32: func DoWithTimeout (src, dst string, timeout time.Duration) (diffs []diffmatchpatch.Diff) {
		diff.go#L42: func Dst(diffs []diffmatchpatch.Diff) string {
		diff.go#L53: func Src(diffs []diffmatchpatch.Diff) string {