pub fn write(plan: &Plan, root: &Path) -> Result<Vec<PathBuf>>
Write a plan to disk.
Refuses if any file already exists, and writes nothing in that case: a half-applied generator is worse than one that declined.