[db] follow symlinks
parent
eec053a58a
commit
939297f91b
|
@ -141,6 +141,7 @@ fn _rescan_vault<T: AsRef<Path>>(
|
|||
|
||||
// Walk through the vault, find all paths
|
||||
let path_entries: Vec<PathBuf> = WalkDir::new(&directory)
|
||||
.follow_links(true)
|
||||
.into_iter()
|
||||
.filter_map(|e| e.ok())
|
||||
.filter(|e| e.path().is_file() && e.file_name() != DATABASE_FILENAME)
|
||||
|
|
Loading…
Reference in New Issue