MCPcopy Create free account
hub / github.com/google/gapid / Diff

Method Diff

core/data/compare/path.go:102–102  ·  view source on GitHub ↗

Diff returns a new Path with a terminal diff fragment appended.

(reference, value interface{})

Source from the content-addressed store, hash-verified

100
101// Diff returns a new Path with a terminal diff fragment appended.
102func (p Path) Diff(reference, value interface{}) Path { return p.with(nil, reference, value) }
103
104func (p Path) Format(f fmt.State, r rune) {
105 if len(p) == 0 {

Callers 8

compare_test.goFile · 0.45
TestDiffFunction · 0.45
TestDiffLimitFunction · 0.45
TestCustomDiffFunction · 0.45
AddDiffMethod · 0.45
compareValuesMethod · 0.45
TestDeepDiffMethod · 0.45
TestCustomDeepDiffMethod · 0.45

Calls 1

withMethod · 0.95

Tested by 3

TestDiffFunction · 0.36
TestDiffLimitFunction · 0.36
TestCustomDiffFunction · 0.36