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

Method insert

backend/src/git/ext.rs:22–24  ·  view source on GitHub ↗
(&mut self, repo_id: RepoId, repo_obj: RepoObject)

Source from the content-addressed store, hash-verified

20 }
21
22 pub fn insert(&mut self, repo_id: RepoId, repo_obj: RepoObject) {
23 self.0.insert(repo_id, repo_obj);
24 }
25
26 pub fn link_details(&self, context: RepoId) -> Result<(Vec<RepoLinkWrapper>, RepoLinkWrapper)> {
27 let mut display_link: Option<RepoLinkWrapper> = match self.0.get(&context) {

Callers 15

try_convertFunction · 0.80
addMethod · 0.80
finalizeMethod · 0.80
into_matchesMethod · 0.80
nextMethod · 0.80
callMethod · 0.80
maybe_topicMethod · 0.80
make_linkMethod · 0.80
append_synonymFunction · 0.80
callMethod · 0.80
changeMethod · 0.80
request_decisionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected