X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/d7fef30ac3f539975ef9edbba8e0af4a4e9ff3de..7a40b0cf322c146439be449fc40e08a62c08ab60:/src/archiver/raw.rs 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); }