Create a new remote entry marked as the default. # Arguments `url` - The URL of the remote repository # Example ```rust use atomic_repository::remote::RemoteEntry; let remote = RemoteEntry::new_default("https://api.example.com/repo"); assert!(remote.default); ```
(url: impl Into<String>)
| 190 | /// assert!(remote.default); |
| 191 | /// ``` |
| 192 | pub fn new_default(url: impl Into<String>) -> Self { |
| 193 | Self { |
| 194 | url: url.into(), |
| 195 | default: true, |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | /// Set whether this remote is the default. |
| 200 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected