github.com/google/go-cmp/cmp.diffStats.NumInserted (field)
10 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L426: lastStats(2).NumInserted++
report_slices.go#L388: ny := appendChunks(vy.Slice(0, ds.NumIdentical+ds.NumInserted+ds.NumModified), diffInserted)
report_slices.go#L418: lastStats(2).NumInserted++
report_slices.go#L437: hadX, hadY := prev.NumRemoved > 0, prev.NumInserted > 0
report_slices.go#L438: hasX, hasY := next.NumRemoved > 0, next.NumInserted > 0
report_text.go#L370: NumInserted int
report_text.go#L380: return s.NumRemoved + s.NumInserted + s.NumModified
report_text.go#L388: s.NumInserted += ds.NumInserted
report_text.go#L401: counts := [...]int{s.NumIgnored, s.NumIdentical, s.NumRemoved, s.NumInserted, s.NumModified}
 |
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. |