aboutsummaryrefslogtreecommitdiff
path: root/src/archiver/raw.rs
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-01-05 00:38:55 +0100
committerRuben Beltran del Rio <git@r.bdr.sh>2025-01-05 00:38:55 +0100
commitd7fef30ac3f539975ef9edbba8e0af4a4e9ff3de (patch)
tree1e71dd131261a8f7a13d86d4dddd7d421e6a09f4 /src/archiver/raw.rs
parentd26464d12e41e8d53fca8d0e5f9cc6ac03e48f9a (diff)
Commit batch of lints to allow autofix
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);
}