Check if a remote with the given name exists.
(&self, name: &str)
| 407 | |
| 408 | /// Check if a remote with the given name exists. |
| 409 | pub fn contains(&self, name: &str) -> bool { |
| 410 | self.remotes.contains_key(name) |
| 411 | } |
| 412 | |
| 413 | /// Get the default remote, if one is configured. |
| 414 | /// |