MCPcopy Create free account
hub / github.com/emwalker/digraph / connection

Method connection

backend/src/redis/mod.rs:171–174  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

169 }
170
171 pub fn connection(&self) -> Result<redis_rs::Connection> {
172 let client = redis_rs::Client::open(self.url.clone())?;
173 Ok(client.get_connection()?)
174 }
175
176 // Since redis keys have the commit hash of an immutible Git commit, they do not need to have
177 // an expiry.

Callers 4

fetchMethod · 0.80
saveMethod · 0.80
intersectionMethod · 0.80
fetch_activityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected