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