const github.com/sergi/go-diff/diffmatchpatch.DiffInsert
29 uses
github.com/sergi/go-diff/diffmatchpatch (current package)
diff.go#L34: DiffInsert Operation = 1
diff.go#L137: return append(diffs, Diff{DiffInsert, string(text2)})
diff.go#L153: op := DiffInsert
diff.go#L169: Diff{DiffInsert, string(text2)},
diff.go#L219: case DiffInsert:
diff.go#L372: Diff{DiffInsert, string(runes2)},
diff.go#L672: if diffs[pointer].Type == DiffInsert {
diff.go#L688: diffs[insPoint+1].Type = DiffInsert
diff.go#L725: diffs[pointer].Type == DiffInsert {
diff.go#L747: diffs[pointer-1].Type = DiffInsert
diff.go#L962: diffs[insPoint+1].Type = DiffInsert
diff.go#L1011: case DiffInsert:
diff.go#L1052: Diff{DiffInsert, string(textInsert)})
diff.go#L1061: Diff{DiffInsert, string(textInsert)})
diff.go#L1134: if aDiff.Type != DiffInsert {
diff.go#L1165: case DiffInsert:
diff.go#L1189: case DiffInsert:
diff.go#L1211: if aDiff.Type != DiffInsert {
diff.go#L1238: case DiffInsert:
diff.go#L1260: case DiffInsert:
diff.go#L1312: diffs = append(diffs, Diff{DiffInsert, param})
patch.go#L58: case DiffInsert:
patch.go#L163: case DiffInsert:
patch.go#L194: if aDiff.Type != DiffInsert {
patch.go#L297: if aDiff.Type == DiffInsert {
patch.go#L403: if diffType == DiffInsert {
patch.go#L539: patch.diffs = append(patch.diffs, Diff{DiffInsert, line})
github.com/go-git/go-git/v5/plumbing/object
patch.go#L84: case dmp.DiffInsert:
github.com/go-git/go-git/v5/utils/diff
diff.go#L56: if d.Type != diffmatchpatch.DiffInsert {
 |
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. |