Skip to main content

Module undo

Module undo 

Source
Expand description

Undo a project speccoder created — only while nothing but speccoder’s commit exists there. A new folder goes to the system Trash (never deleted); in an existing repository speccoder’s commit is reverted as the person, history kept.

Functions§

undo
speccoder new --undo: the project at root, undone — its folder to the Trash, or speccoder’s commit reverted — when commit is still the only thing that happened there.
undo_offer
What Undo would do for the project at root, now.
undo_with
undo with the Trash given (tests: a folder standing in for it).