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

Method id_activity

backend/src/git/index.rs:615–627  ·  view source on GitHub ↗
(
        &mut self,
        client: &Client,
        repo_id: RepoId,
        id: &ExternalId,
    )

Source from the content-addressed store, hash-verified

613 }
614
615 pub fn id_activity(
616 &mut self,
617 client: &Client,
618 repo_id: RepoId,
619 id: &ExternalId,
620 ) -> Result<&mut ActivityIndex> {
621 let key = (repo_id, id.to_owned());
622 let index = self
623 .path_activity
624 .entry(key)
625 .or_insert_with(|| client.fetch_activity_log(repo_id, id, self.mode).unwrap());
626 Ok(index)
627 }
628
629 fn synonym_phrase_index(
630 &mut self,

Callers 1

add_changeMethod · 0.80

Calls 1

fetch_activity_logMethod · 0.80

Tested by

no test coverage detected