MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / get_mut

Method get_mut

atomic-repository/src/remote.rs:404–406  ·  view source on GitHub ↗

Get a mutable reference to a remote by name.

(&mut self, name: &str)

Source from the content-addressed store, hash-verified

402
403 /// Get a mutable reference to a remote by name.
404 pub fn get_mut(&mut self, name: &str) -> Option<&mut RemoteEntry> {
405 self.remotes.get_mut(name)
406 }
407
408 /// Check if a remote with the given name exists.
409 pub fn contains(&self, name: &str) -> bool {

Callers 15

apply_line_index_updatesFunction · 0.80
uninstall_from_manifestFunction · 0.80
remove_prefixedFunction · 0.80
deep_mergeFunction · 0.80
add_hookFunction · 0.80
remove_atomic_hooksFunction · 0.80
remove_deny_ruleFunction · 0.80
consumeMethod · 0.80
set_permissionsMethod · 0.80

Calls

no outgoing calls

Tested by 8

update_trunk_stateMethod · 0.64
update_trunk_pathMethod · 0.64
del_branchMethod · 0.64
update_branch_stateMethod · 0.64
del_leafMethod · 0.64
update_leaf_stateMethod · 0.64
update_leaf_contentMethod · 0.64