[pbs-devel] [PATCH backup 8/8] add too_many_arguments clippy exception
Maximiliano Sandoval
m.sandoval at proxmox.com
Thu Mar 6 14:12:35 CET 2025
Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
pbs-client/src/pxar/create.rs | 1 +
proxmox-backup-client/src/main.rs | 1 +
2 files changed, 2 insertions(+)
diff --git a/pbs-client/src/pxar/create.rs b/pbs-client/src/pxar/create.rs
index 33a4c29e..4968e4b8 100644
--- a/pbs-client/src/pxar/create.rs
+++ b/pbs-client/src/pxar/create.rs
@@ -871,6 +871,7 @@ impl Archiver {
.await
}
+ #[allow(clippy::too_many_arguments)]
async fn add_entry_to_archive<T: SeqWrite + Send>(
&mut self,
encoder: &mut Encoder<'_, T>,
diff --git a/proxmox-backup-client/src/main.rs b/proxmox-backup-client/src/main.rs
index 26a07b1c..7fa57b2f 100644
--- a/proxmox-backup-client/src/main.rs
+++ b/proxmox-backup-client/src/main.rs
@@ -195,6 +195,7 @@ pub async fn dir_or_last_from_group(
type Catalog = CatalogWriter<TokioWriterAdapter<StdChannelWriter<Error>>>;
+#[allow(clippy::too_many_arguments)]
async fn backup_directory<P: AsRef<Path>>(
client: &BackupWriter,
dir_path: P,
--
2.39.5
More information about the pbs-devel
mailing list