Skip to content

Commit c0bfb0e

Browse files
committed
add webdav list_response parser
1 parent f5942bf commit c0bfb0e

File tree

2 files changed

+316
-54
lines changed

2 files changed

+316
-54
lines changed

src/services/webdav/backend.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -213,18 +213,18 @@ impl Accessor for WebdavBackend {
213213
ma
214214
}
215215

216-
async fn list(&self, path: &str, args: OpList) -> Result<(RpList, ObjectPager)> {
217-
let (_, _) = (path, args);
216+
// async fn list(&self, path: &str, args: OpList) -> Result<(RpList, ObjectPager)> {
217+
// let (_, _) = (path, args);
218218

219-
let empoty_string = AsyncBody::from("".into());
219+
// let empoty_string = AsyncBody::from("".into());
220220

221-
let resp = self.webdav_put(path, None, "application/xml".into(), empoty_string);
221+
// let resp = self.webdav_put(path, None, "application/xml".into(), empoty_string);
222222

223-
Err(Error::new(
224-
ErrorKind::Unsupported,
225-
"operation is not supported",
226-
))
227-
}
223+
// Err(Error::new(
224+
// ErrorKind::Unsupported,
225+
// "operation is not supported",
226+
// ))
227+
// }
228228

229229
async fn create(&self, path: &str, _: OpCreate) -> Result<RpCreate> {
230230
let resp = self

0 commit comments

Comments
 (0)