Fix FakeLs import: use dav_server::fakels::FakeLs
Correct import path is fakels module (not ls). All builds passing, tests: 6/6
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use dav_server::{DavHandler, localfs::LocalFs, ls::FakeLs};
|
use dav_server::{DavHandler, localfs::LocalFs, fakels::FakeLs};
|
||||||
|
|
||||||
pub struct MarkBaseWebDAV {
|
pub struct MarkBaseWebDAV {
|
||||||
user_id: String,
|
user_id: String,
|
||||||
@@ -19,7 +19,7 @@ impl MarkBaseWebDAV {
|
|||||||
|
|
||||||
DavHandler::builder()
|
DavHandler::builder()
|
||||||
.filesystem(LocalFs::new(&mount_point, false, false, false))
|
.filesystem(LocalFs::new(&mount_point, false, false, false))
|
||||||
.locksystem(Box::new(FakeLs::new()))
|
.locksystem(FakeLs::new())
|
||||||
.strip_prefix("/webdav")
|
.strip_prefix("/webdav")
|
||||||
.build_handler()
|
.build_handler()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user