diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-05-29 08:47:56 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-05-29 08:47:56 +0200 |
commit | f9fab60e5ee77c0cf57744e39b5685902189a38b (patch) | |
tree | 8434d66f7b38658edb4db7648527930f3f26aab0 /aero-collections | |
parent | a2f5b451bd32780d60be69c6412cb351a54b765b (diff) | |
download | aerogramme-f9fab60e5ee77c0cf57744e39b5685902189a38b.tar.gz aerogramme-f9fab60e5ee77c0cf57744e39b5685902189a38b.zip |
test report sync-collection
Diffstat (limited to 'aero-collections')
-rw-r--r-- | aero-collections/src/calendar/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/aero-collections/src/calendar/mod.rs b/aero-collections/src/calendar/mod.rs index 414426a..ac07842 100644 --- a/aero-collections/src/calendar/mod.rs +++ b/aero-collections/src/calendar/mod.rs @@ -177,6 +177,10 @@ impl CalendarInternal { .iter() .filter_map(|t: &Token| davstate.change.get(t)) .map(|s| s.clone()) + .filter(|s| match s { + SyncChange::Ok((filename, _)) => davstate.idx_by_filename.get(filename).is_some(), + SyncChange::NotFound(filename) => davstate.idx_by_filename.get(filename).is_none(), + }) .collect(); let token = self.current_token().await?; |