mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
chore: unified code format
This commit is contained in:
@@ -54,9 +54,11 @@ impl WebDavClient {
|
|||||||
password.to_owned(),
|
password.to_owned(),
|
||||||
))
|
))
|
||||||
.build()?;
|
.build()?;
|
||||||
if let Err(_) = client
|
|
||||||
|
if (client
|
||||||
.list(dirs::BACKUP_DIR, reqwest_dav::Depth::Number(0))
|
.list(dirs::BACKUP_DIR, reqwest_dav::Depth::Number(0))
|
||||||
.await
|
.await)
|
||||||
|
.is_err()
|
||||||
{
|
{
|
||||||
client.mkcol(dirs::BACKUP_DIR).await?;
|
client.mkcol(dirs::BACKUP_DIR).await?;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user