Create a new remote entry with the given URL. # Arguments `url` - The URL of the remote repository # Example ```rust use atomic_repository::remote::RemoteEntry; let remote = RemoteEntry::new("https://api.example.com/repo"); assert_eq!(remote.url, "https://api.example.com/repo"); assert!(!remote.default); ```
(url: impl Into<String>)
| 169 | /// assert!(!remote.default); |
| 170 | /// ``` |
| 171 | pub fn new(url: impl Into<String>) -> Self { |
| 172 | Self { |
| 173 | url: url.into(), |
| 174 | default: false, |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | /// Create a new remote entry marked as the default. |
| 179 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected