const github.com/google/go-cmp/cmp.diffInserted
15 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L23: diffInserted diffMode = '+'
report_compare.go#L154: case diffInserted:
report_compare.go#L234: case diffIdentical, diffRemoved, diffInserted:
report_compare.go#L251: case diffInserted:
report_compare.go#L343: outy := opts.WithDiffMode(diffInserted).FormatDiff(r.Value, ptrs)
report_compare.go#L347: outy = opts2.WithDiffMode(diffInserted).FormatDiff(r.Value, ptrs)
report_compare.go#L354: list = append(list, textRecord{Diff: diffInserted, Key: formatKey(r.Key), Value: outy})
report_references.go#L48: case diffInserted:
report_slices.go#L176: case diffInserted:
report_slices.go#L186: if !(r.Diff == diffRemoved || r.Diff == diffInserted) { // start a new non-adjacent difference group
report_slices.go#L388: ny := appendChunks(vy.Slice(0, ds.NumIdentical+ds.NumInserted+ds.NumModified), diffInserted)
report_text.go#L37: case diffInserted:
report_text.go#L47: case diffInserted:
report_text.go#L209: if r.Diff == diffInserted || r.Diff == diffRemoved {
report_text.go#L229: if (d == diffInserted || d == diffRemoved) && len(b[n0:]) > maxColumnLength {
![]() |
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. |