MCPcopy Create free account
hub / github.com/aws-cloudformation/rain / Diff

Interface Diff

cft/diff/diff.go:40–53  ·  view source on GitHub ↗

Diff is the common interface for the other types in this package. A Diff represents the difference (or lack of difference) between two values

Source from the content-addressed store, hash-verified

38//
39// A Diff represents the difference (or lack of difference) between two values
40type Diff interface {
41 // Mode represents the type of change in a Diff
42 Mode() Mode
43
44 // String returns a string representation of the Diff
45 String() string
46
47 // Format returns a pretty-printed representation of the Diff
48 // The long flag determines whether to produce long or short output
49 Format(bool) string
50
51 // Value returns the value represented by the Diff
52 Value() interface{}
53}
54
55// value represents a difference between values of any type
56type value struct {

Callers 28

TestConstantsFunction · 0.65
UnzipFunction · 0.65
runTestFunction · 0.65
zipPathFunction · 0.65
VerifyFunction · 0.65
ModeMethod · 0.65
GetResourceActionsFunction · 0.65
testCompareFunction · 0.65
handleS3Function · 0.65
StringMethod · 0.65
testCompareFunction · 0.65
FormatMethod · 0.65

Implementers 1

valuecft/diff/diff.go

Calls

no outgoing calls

Tested by

no test coverage detected