Listing works

This commit is contained in:
AB
2020-06-04 00:09:05 +03:00
parent 77f9604dce
commit 3abf98e12d
3 changed files with 119 additions and 61 deletions

View File

@ -25,7 +25,7 @@ async fn main() -> Result<(), std::io::Error> {
}
let memfs = filesystem::MemFS::new(&cfg);
memfs.fetch_remote(Path::new("/"), 1).await;
memfs.fetch_remote(PathBuf::from("/"), 1).await;
polyfuse_tokio::mount(memfs, mountpoint, &[]).await?;
Ok(())