]>
Commit | Line | Data |
---|---|---|
1 | use crate::template::Context; | |
2 | use crate::utils::recursively_copy; | |
3 | use std::io::Result; | |
4 | use std::path::Path; | |
5 | ||
6 | pub fn archive(archive_directory: &Path, _: &Path, target: &Path, _: &Context) -> Result<()> { | |
7 | if archive_directory.exists() { | |
8 | return recursively_copy(archive_directory, target); | |
9 | } | |
10 | Ok(()) | |
11 | } |