10 DeleteThenCreate Action = '∓'
11 CreateThenDelete Action = '±'
15 //go:generate stringer -type Action
17 // IsReplace returns true if the action is one of the two actions that
18 // represents replacing an existing object with a new object:
19 // DeleteThenCreate or CreateThenDelete.
20 func (a Action) IsReplace() bool {
21 return a == DeleteThenCreate || a == CreateThenDelete