MCPcopy Create free account
hub / github.com/dotchain/dot / Revert

Method Revert

changes/changes.go:103–103  ·  view source on GitHub ↗

Revert returns the opposite effect of the current change. If applied directly after the current change it should undo the effect of the current change.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 12

AppendMethod · 0.65
mergeSpliceMethod · 0.65
TestTextSetAttrRevertFunction · 0.65
TestNilChangeSetFunction · 0.65
TestRevertsFunction · 0.65
RevertMethod · 0.65
TestMetaRevertFunction · 0.65
RevertMethod · 0.65
RevertMethod · 0.65
TestPathChangeRevertFunction · 0.65
undoAtMethod · 0.65
TestUpdateRevertFunction · 0.65

Implementers 14

myChangeops/pg/pg_test.go
myChangeops/bolt/bolt_test.go
setattrx/rich/setattr.go
myChangechanges/assorted_test.go
Replacechanges/replace.go
PathChangechanges/path.go
Splicechanges/splice.go
Metachanges/meta.go
Movechanges/move.go
poorlyDefinedChangechanges/types/string_test.go
Runchanges/run/run.go
Updaterefs/update.go

Calls

no outgoing calls

Tested by 6

TestTextSetAttrRevertFunction · 0.52
TestNilChangeSetFunction · 0.52
TestRevertsFunction · 0.52
TestMetaRevertFunction · 0.52
TestPathChangeRevertFunction · 0.52
TestUpdateRevertFunction · 0.52