Expand description
Silent execution of an Operation across a set of files. Returns a
structured ExecuteResult with everything a caller needs to render output,
make decisions, or surface errors. No println!/eprintln! — embedders
(MCP server, yah, tests) decide what to display; the CLI in main.rs
wraps these calls with its own renderer.
Structs§
Functions§
- execute
- Apply
opacrossfileswithout printing anything. Whenopts.applyis true, writes modified files in place (or toopts.outputif set); otherwise performs a dry run and only fills the result. - execute_
with_ state - Like
executebut records a revertible run. Falls back to plainexecuteifapplyis false oroutputis set (state tracking only applies to in-place writes). On success, populatesrun_idandfiles_modified.