diff options
Diffstat (limited to 'src/uidindex.rs')
-rw-r--r-- | src/uidindex.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uidindex.rs b/src/uidindex.rs index f53d770..9b85238 100644 --- a/src/uidindex.rs +++ b/src/uidindex.rs @@ -182,6 +182,9 @@ impl FlagIndex { self.0.get_mut(flag).and_then(|set| set.remove(&uid)); }); } + pub fn get(&self, f: &Flag) -> Option<&OrdSet<ImapUid>> { + self.0.get(f) + } } // ---- CUSTOM SERIALIZATION AND DESERIALIZATION ---- |