Skip to main content

Module transform

Module transform 

Source
Expand description

Transformation application, conflict detection, and rollback.

This module orchestrates the process of applying pattern-based transformations to source files:

  • applier: Applies variable substitutions to produce new source text.
  • conflict: Detects overlapping or otherwise conflicting matches.
  • rollback: Saves and restores original file content for undo support.

Re-exports§

pub use applier::TransformApplier;
pub use conflict::ConflictResolver;
pub use rollback::RollbackManager;

Modules§

applier
Transform applier — replaces pattern matches with the after_template.
conflict
Conflict detection for overlapping or incompatible matches.
rollback
Rollback management for undoing applied transformations.

Structs§

TransformResult
Result of a transformation applied to a single file.