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

Method load

backend/src/graphql/git.rs:30–33  ·  view source on GitHub ↗
(&self, keys: &[Okey])

Source from the content-addressed store, hash-verified

28 type Error = Error;
29
30 async fn load(&self, keys: &[Okey]) -> Result<HashMap<Okey, Self::Value>> {
31 log::debug!("batch load topics: {:?}", keys);
32 Ok(self.client.fetch_all(keys).finalize()?.into_hash())
33 }
34}
35
36impl From<git::Object> for SearchMatch {

Callers

nothing calls this directly

Calls 3

into_hashMethod · 0.80
finalizeMethod · 0.80
fetch_allMethod · 0.80

Tested by

no test coverage detected