mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:53:44 +08:00
chore: unified code format
This commit is contained in:
parent
7b53752ccd
commit
3073b4e48e
@ -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?;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user