Add sorting by a File's Tag Count

This commit is contained in:
Cameron
2025-05-17 13:41:14 -04:00
parent f216723df0
commit 5b17fba51f
4 changed files with 92 additions and 35 deletions

View File

@@ -48,10 +48,7 @@ impl UserDao for TestUserDao {
}
fn user_exists(&mut self, user: &str) -> bool {
self.user_map
.borrow()
.iter()
.any(|u| u.username == user)
self.user_map.borrow().iter().any(|u| u.username == user)
}
}