X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/6352ebb0eb4cb83240c6d4998e0ef1375b041191..440adc8c924f451936c7f5f2fa2dcd97fffb5573:/src/archiver/raw.rs diff --git a/src/archiver/raw.rs b/src/archiver/raw.rs index 5099f2b..ce7ecb7 100644 --- a/src/archiver/raw.rs +++ b/src/archiver/raw.rs @@ -1,9 +1,9 @@ -use std::io::Result; -use std::path::PathBuf; -use crate::template::TemplateContext; +use crate::template::Context; 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, _: &Context) -> Result<()> { if archive_directory.exists() { return recursively_copy(archive_directory, target); }