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