mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-09-22 19:07:34 +02:00
chore: set Rust MSRV to 1.88
This commit is contained in:
@@ -1691,7 +1691,7 @@ pub fn get_vault_stats(state: State<'_, AppState>) -> Result<VaultStats, String>
|
||||
.filter(|p| {
|
||||
// attachments under .helixnotes count; nothing else in .helixnotes or .trash does
|
||||
let s = p.to_string_lossy();
|
||||
!(s.contains("/.helixnotes/") && !s.contains("/.helixnotes/attachments/"))
|
||||
(!s.contains("/.helixnotes/") || s.contains("/.helixnotes/attachments/"))
|
||||
&& !s.contains("/.trash/")
|
||||
})
|
||||
.collect();
|
||||
|
||||
Reference in New Issue
Block a user