This commit is contained in:
kunfei
2023-03-02 13:26:06 +08:00
parent e24aa0dbd8
commit 07803959b1
@@ -22,13 +22,9 @@ class RemoteBookWebDav(val rootBookUrl: String, val authorization: Authorization
init { init {
runBlocking { runBlocking {
initRemoteContext()
}
}
suspend fun initRemoteContext() {
WebDav(rootBookUrl, authorization).makeAsDir() WebDav(rootBookUrl, authorization).makeAsDir()
} }
}
@Throws(Exception::class) @Throws(Exception::class)
override suspend fun getRemoteBookList(path: String): MutableList<RemoteBook> { override suspend fun getRemoteBookList(path: String): MutableList<RemoteBook> {