mirror of
https://git.proxmox.com/git/proxmox
synced 2025-04-30 19:04:30 +00:00
compression: match style fixup
if the match arms are this far away from the actual `match` keyword, this needs to be split up... Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
af46b655d4
commit
5b55ea797a
@ -643,7 +643,7 @@ where
|
||||
let entry_path = entry.path().to_owned();
|
||||
let encoder = &mut encoder;
|
||||
|
||||
match async move {
|
||||
let entry = async move {
|
||||
let entry_path_no_base = entry.path().strip_prefix(base_path)?;
|
||||
let metadata = entry.metadata()?;
|
||||
let mtime = match metadata
|
||||
@ -669,8 +669,8 @@ where
|
||||
Ok::<_, Error>(None)
|
||||
}
|
||||
}
|
||||
.await
|
||||
{
|
||||
.await;
|
||||
match entry {
|
||||
Ok(Some((ze, content))) => encoder.add_entry(ze, content).await?,
|
||||
Ok(None) => {}
|
||||
Err(err) => {
|
||||
|
Loading…
Reference in New Issue
Block a user