-
-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Labels
please verifyCould you see if this is better now?Could you see if this is better now?
Description
Is your feature request related to a problem? Please describe.
After checkpoints.goBackward(), I want to make it impossible to redo the changes.
Describe the solution you'd like
A method to clear the 'forward' checkpoints: e.g. checkpoints.clearForwardCheckpoints() or checkpoints.delForwardCheckpoints().
Describe alternatives you've considered
I thought about implementing this by adding a dummy (noop) checkpoint after going backward, because then the forward checkpoints effectively get cleared. However, adding a checkpoint without changes does not do anything, so this does not work.
Metadata
Metadata
Assignees
Labels
please verifyCould you see if this is better now?Could you see if this is better now?