aboutsummaryrefslogtreecommitdiff
path: root/src/archiver/raw.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/archiver/raw.rs')
-rw-r--r--src/archiver/raw.rs11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/archiver/raw.rs b/src/archiver/raw.rs
index 5099f2b..c3dc1cf 100644
--- a/src/archiver/raw.rs
+++ b/src/archiver/raw.rs
@@ -1,9 +1,14 @@
-use std::io::Result;
-use std::path::PathBuf;
use crate::template::TemplateContext;
use crate::utils::recursively_copy;
+use std::io::Result;
+use std::path::Path;
-pub fn archive(archive_directory: &PathBuf, _: &PathBuf, target: &PathBuf, _: &TemplateContext) -> Result<()> {
+pub fn archive(
+ archive_directory: &Path,
+ _: &Path,
+ target: &Path,
+ _: &TemplateContext,
+) -> Result<()> {
if archive_directory.exists() {
return recursively_copy(archive_directory, target);
}