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

Method get_remote

atomic-config/src/lib.rs:1189–1191  ·  view source on GitHub ↗

Get a remote by name

(&self, name: &str)

Source from the content-addressed store, hash-verified

1187
1188 /// Get a remote by name
1189 pub fn get_remote(&self, name: &str) -> Option<&RemoteConfig> {
1190 self.remotes.iter().find(|r| r.name == name)
1191 }
1192}
1193
1194#[cfg(test)]

Callers 8

adoptMethod · 0.45
build_remote_sourceFunction · 0.45
resolve_remote_urlMethod · 0.45
run_remoteMethod · 0.45
resolve_remote_urlMethod · 0.45
sync_credentialsMethod · 0.45
push_changes_implFunction · 0.45
pull_changes_implFunction · 0.45

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected