Skip to main content

Module rollback

Module rollback 

Source
Expand description

Rollback management for undoing applied transformations.

Before any file is modified, the original content is saved so that the user can undo the changes later. Rollback data is stored as JSON files inside a .codemod-pilot/rollback/ directory under the project root.

Structsยง

RollbackEntry
An entry in the rollback history.
RollbackManager
Manages rollback data for transformation undo support.