(source: &Path, dest: &Path)
| 59 | } |
| 60 | |
| 61 | fn copy_template(source: &Path, dest: &Path) -> Result<(), Box<dyn std::error::Error>> { |
| 62 | let options = CopyOptions { |
| 63 | content_only: true, |
| 64 | ..Default::default() |
| 65 | }; |
| 66 | copy(source, dest, &options)?; |
| 67 | |
| 68 | Ok(()) |
| 69 | } |
| 70 | |
| 71 | fn template_path_for_execution(execution: &Execution) -> &'static Path { |
| 72 | match execution { |