mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-01 14:24:54 +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 entry_path = entry.path().to_owned();
|
||||||
let encoder = &mut encoder;
|
let encoder = &mut encoder;
|
||||||
|
|
||||||
match async move {
|
let entry = async move {
|
||||||
let entry_path_no_base = entry.path().strip_prefix(base_path)?;
|
let entry_path_no_base = entry.path().strip_prefix(base_path)?;
|
||||||
let metadata = entry.metadata()?;
|
let metadata = entry.metadata()?;
|
||||||
let mtime = match metadata
|
let mtime = match metadata
|
||||||
@ -669,8 +669,8 @@ where
|
|||||||
Ok::<_, Error>(None)
|
Ok::<_, Error>(None)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.await
|
.await;
|
||||||
{
|
match entry {
|
||||||
Ok(Some((ze, content))) => encoder.add_entry(ze, content).await?,
|
Ok(Some((ze, content))) => encoder.add_entry(ze, content).await?,
|
||||||
Ok(None) => {}
|
Ok(None) => {}
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user