Skip to main content

apply

Function apply 

Source
pub fn apply(plan: &Plan) -> Vec<String>
Expand description

Do it. Returns one line per step: what moved, what was kept and why, what failed.

Every move is a rename, so it is atomic where source and destination share a filesystem — and the root and the old locations are both under $HOME in every normal install. A failure is reported against its own step and does not stop the rest: half a migration is better than none, and the report says exactly which half.