MCPcopy Create free account
hub / github.com/chatmail/core / uncache_raw_config

Method uncache_raw_config

src/sql.rs:607–610  ·  view source on GitHub ↗

Removes the `key`'s value from the cache.

(&self, key: &str)

Source from the content-addressed store, hash-verified

605
606 /// Removes the `key`'s value from the cache.
607 pub(crate) async fn uncache_raw_config(&self, key: &str) {
608 let mut lock = self.config_cache.write().await;
609 lock.remove(key);
610 }
611
612 /// Sets configuration for the given key to 32-bit signed integer value.
613 pub async fn set_raw_config_int(&self, key: &str, value: i32) -> Result<()> {

Callers 3

set_config_exMethod · 0.80
receive_imf_innerFunction · 0.80
msgs_to_key_contactsFunction · 0.80

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected