X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/d7fef30ac3f539975ef9edbba8e0af4a4e9ff3de..440adc8c924f451936c7f5f2fa2dcd97fffb5573:/src/archiver/raw.rs?ds=inline diff --git a/src/archiver/raw.rs b/src/archiver/raw.rs index c3dc1cf..ce7ecb7 100644 --- a/src/archiver/raw.rs +++ b/src/archiver/raw.rs @@ -1,14 +1,9 @@ -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: &Path, - _: &Path, - target: &Path, - _: &TemplateContext, -) -> Result<()> { +pub fn archive(archive_directory: &Path, _: &Path, target: &Path, _: &Context) -> Result<()> { if archive_directory.exists() { return recursively_copy(archive_directory, target); }