[db] follow symlinks

feat/vaults
Tomáš Mládek 2021-10-28 17:24:47 +02:00
parent eec053a58a
commit 939297f91b
1 changed files with 1 additions and 0 deletions

View File

@ -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)