Searched refs:FormatDiff (Results 1 – 2 of 2) sorted by relevance
/external/go-cmp/cmp/ |
D | report_compare.go | 98 func (opts formatOptions) FormatDiff(v *valueNode, ptrs *pointerReferences) (out textNode) { func 171 out := opts.WithTypeMode(emitType).FormatDiff(v.Value, ptrs) 192 out = opts.FormatDiff(v.Value, ptrs) 196 out = opts.WithTypeMode(emitType).FormatDiff(v.Value, ptrs) 267 if out := opts.FormatDiff(r.Value, ptrs); out != nil { 315 out := opts.WithDiffMode(diffIdentical).FormatDiff(r.Value, ptrs) 327 out := opts.WithDiffMode(diffIdentical).FormatDiff(r.Value, ptrs) 343 outx := opts.WithDiffMode(diffRemoved).FormatDiff(r.Value, ptrs) 344 outy := opts.WithDiffMode(diffInserted).FormatDiff(r.Value, ptrs) 347 outx = opts2.WithDiffMode(diffRemoved).FormatDiff(r.Value, ptrs) [all …]
|
D | report.go | 45 text := formatOptions{}.FormatDiff(r.root, ptrs)
|