ok clippy

This commit is contained in:
cy 2025-04-14 13:28:04 -04:00
parent f304dae207
commit b47a778b9e
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts

View file

@ -125,13 +125,13 @@ impl PathInfo {
}
pub async fn check_if_already_exists(&self, s3_client: &s3::Client, bucket: String) -> bool {
!s3_client
s3_client
.head_object()
.bucket(bucket)
.key(format!("{}.narinfo", self.digest()))
.send()
.await
.is_err()
.is_ok()
}
}