aboutsummaryrefslogtreecommitdiff
path: root/src/archiver/raw.rs
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-01-05 15:48:16 +0100
committerRuben Beltran del Rio <git@r.bdr.sh>2025-01-05 15:48:16 +0100
commitb17907faf8d9693cef94a6048d802bd4ced9102f (patch)
tree1bd87c40e85af675a96b63672163b4caaa174364 /src/archiver/raw.rs
parentd7fef30ac3f539975ef9edbba8e0af4a4e9ff3de (diff)
Deal with all lints
Diffstat (limited to 'src/archiver/raw.rs')
-rw-r--r--src/archiver/raw.rs9
1 files changed, 2 insertions, 7 deletions
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);
}