use crate::context::facade::GitContext; impl GitContext { pub async fn cache_get(&self, key: &str) -> Result, crate::share::errors::GitError> where V: serde::de::DeserializeOwned, { Ok(self.cache.get_json(key).await?) } pub async fn cache_remove(&self, key: &str) -> Result<(), crate::share::errors::GitError> { let _ = self.cache.delete(key).await?; Ok(()) } }