Set whether this remote is the default. # Example ```rust use atomic_repository::remote::RemoteEntry; let remote = RemoteEntry::new("https://example.com/repo") .with_default(true); assert!(remote.default); ```
(mut self, default: bool)
| 208 | /// assert!(remote.default); |
| 209 | /// ``` |
| 210 | pub fn with_default(mut self, default: bool) -> Self { |
| 211 | self.default = default; |
| 212 | self |
| 213 | } |
| 214 | |
| 215 | /// Check if the URL appears valid. |
| 216 | /// |
no outgoing calls