const github.com/sergi/go-diff/diffmatchpatch.DiffEqual
43 uses
github.com/sergi/go-diff/diffmatchpatch (current package)
diff.go#L36: DiffEqual Operation = 0
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#L161: Diff{DiffEqual, string(shorttext)},
diff.go#L184: diffs = append(diffs, Diff{DiffEqual, string(midCommon)})
diff.go#L207: diffs = append(diffs, Diff{DiffEqual, ""})
diff.go#L225: case DiffEqual:
diff.go#L661: if diffs[pointer].Type == DiffEqual {
diff.go#L735: diffs = splice(diffs, pointer, 0, Diff{DiffEqual, insertion[:overlapLength1]})
diff.go#L745: overlap := Diff{DiffEqual, deletion[:overlapLength2]}
diff.go#L820: if diffs[pointer-1].Type == DiffEqual &&
diff.go#L821: diffs[pointer+1].Type == DiffEqual {
diff.go#L908: if diffs[pointer].Type == DiffEqual { // Equality found.
diff.go#L1001: diffs = append(diffs, Diff{DiffEqual, ""})
diff.go#L1021: case DiffEqual:
diff.go#L1029: if x > 0 && diffs[x-1].Type == DiffEqual {
diff.go#L1032: diffs = append([]Diff{Diff{DiffEqual, string(textInsert[:commonlength])}}, diffs...)
diff.go#L1071: } else if pointer != 0 && diffs[pointer-1].Type == DiffEqual {
diff.go#L1095: if diffs[pointer-1].Type == DiffEqual &&
diff.go#L1096: diffs[pointer+1].Type == DiffEqual {
diff.go#L1173: case DiffEqual:
diff.go#L1197: case DiffEqual:
diff.go#L1242: case DiffEqual:
diff.go#L1270: case DiffEqual:
diff.go#L1330: diffs = append(diffs, Diff{DiffEqual, text})
patch.go#L62: case DiffEqual:
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#L156: if len(patch.diffs) == 0 && aDiff.Type != DiffEqual {
patch.go#L172: case DiffEqual:
patch.go#L295: if aDiff.Type != DiffEqual {
patch.go#L337: if len(patches[0].diffs) == 0 || patches[0].diffs[0].Type != DiffEqual {
patch.go#L339: patches[0].diffs = append([]Diff{Diff{DiffEqual, nullPadding}}, patches[0].diffs...)
patch.go#L356: if len(patches[last].diffs) == 0 || patches[last].diffs[len(patches[last].diffs)-1].Type != DiffEqual {
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#L410: } else if diffType == DiffDelete && len(patch.diffs) == 1 && patch.diffs[0].Type == DiffEqual && len(diffText) > 2*patchSize {
patch.go#L423: if diffType == DiffEqual {
patch.go#L453: if len(patch.diffs) != 0 && patch.diffs[len(patch.diffs)-1].Type == DiffEqual {
patch.go#L456: patch.diffs = append(patch.diffs, Diff{DiffEqual, postcontext})
patch.go#L542: patch.diffs = append(patch.diffs, Diff{DiffEqual, line})
github.com/go-git/go-git/v5/plumbing/object
patch.go#L80: case dmp.DiffEqual:
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |