diff options
Diffstat (limited to 'lib/domain/libimagmail/src/store.rs')
-rw-r--r-- | lib/domain/libimagmail/src/store.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/domain/libimagmail/src/store.rs b/lib/domain/libimagmail/src/store.rs index f66fd047..e328130a 100644 --- a/lib/domain/libimagmail/src/store.rs +++ b/lib/domain/libimagmail/src/store.rs @@ -50,7 +50,7 @@ pub trait MailStore<'a> { -> Result<Option<FileLockEntry<'a>>> where P: AsRef<Path> + Debug; - fn retrieve_mail_from_path<P, CollName>(&'a self, p: P, collection_name: CollName, config: &Config) + fn retrieve_mail_from_path<P, CollName>(&'a self, p: P, collection_name: CollName, config: &Config, force_making_ref: bool) -> Result<FileLockEntry<'a>> where P: AsRef<Path> + Debug, CollName: AsRef<str> + Debug; @@ -109,7 +109,7 @@ impl<'a> MailStore<'a> for Store { } } - fn retrieve_mail_from_path<P, CollName>(&'a self, p: P, collection_name: CollName, config: &Config) + fn retrieve_mail_from_path<P, CollName>(&'a self, p: P, collection_name: CollName, config: &Config, force_making_ref: bool) -> Result<FileLockEntry<'a>> where P: AsRef<Path> + Debug, CollName: AsRef<str> + Debug @@ -124,7 +124,7 @@ impl<'a> MailStore<'a> for Store { entry .as_ref_with_hasher_mut::<DefaultHasher>() - .make_ref(p, collection_name, config, false)?; + .make_ref(p, collection_name, config, force_making_ref)?; Ok(entry) } |