New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symbolic/hard Link, virtual folders like sftpgo, list directory above if view files by browser support #239
Comments
I don't understand what you're saying. can you give an example ? dufs supports symlink. |
use std::fs;
use std::io;
use std::path::Path;
fn visit_dirs(dir: &Path) -> io::Result<()> {
if dir.is_dir() {
for entry in fs::read_dir(dir)? {
let entry = entry?;
let path = entry.path();
if path.is_dir() && path.is_symlink() {
print!("dir symlink: ");
} else {
print!("not dir symlink: ");
}
print!("{:?}", path);
println!();
}
}
Ok(())
}
fn main() {
let path = Path::new("C:/Volumes");
visit_dirs(path);
} Run
Run
|
Sort by names folders not aboveRun dufs
|
You need to run with "--allow-symlink" or "--allow-all" |
sort by name, in desc order, what's the problem? |
Thanks, that's OK. |
Could this sort features can display entries like Windows Explorer, folders has high priority. |
Not sure, I need to do some research. |
Dynamic virtual folders like sftpgoDynamicly map real directories to webdav root subdirs. eg.: Map |
Isn't it just |
Many partitions, not only |
Then you create symlinks such as You should study yourself, try and chek. |
Thanks, maybe I'll tweak it. |
Specific Demand
Symbolic/Hard Link Support
I found that dufs can't list symbolic link entries.
Dynamic virtual folders like sftpgo
When running dufs, you may need add some virtual folders to transfers files.
Instead of running another instance and using another port.
list directory above if view files by browser
We prefer folders above and files below.
Implement Suggestion
The text was updated successfully, but these errors were encountered: