mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 00:59:02 +03:00
feat: hiding only directories instead of files (#175)
A `--hidden` pattern with `/` suffix means hiding only directories not files. A `--hidden` pattern without `/` will hide matching files and directories.
This commit is contained in:
@@ -65,6 +65,7 @@ pub fn tmpdir() -> TempDir {
|
||||
}
|
||||
}
|
||||
}
|
||||
tmpdir.child("dir4/hidden").touch().unwrap();
|
||||
|
||||
tmpdir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user