Regen global feed on new snapshot
- Id
- 6a63f8cbba683da5cd9f452a312ea62246be719a
- Author
- Caio
- Commit time
- 2024-03-08T12:44:07+01:00
Modified caca/src/repo/mod.rs
pub fn update(&mut self, state: Arc<RepoState>) -> bool {
if let Some(found) = self.inner.iter_mut().find(|r| r.name == state.name) {
found.state = state;
+ self.build_global_feed();
true
} else {
false