Create a new Pull command with default settings. # Example ```rust use atomic::commands::pull::Pull; let pull = Pull::new(); assert!(pull.remote.is_none()); assert!(!pull.dry_run); ```
()
| 278 | /// assert!(!pull.dry_run); |
| 279 | /// ``` |
| 280 | pub fn new() -> Self { |
| 281 | Self { |
| 282 | remote: None, |
| 283 | to_view: None, |
| 284 | from_view: None, |
| 285 | dry_run: false, |
| 286 | all: false, |
| 287 | insecure: false, |
| 288 | timeout: DEFAULT_TIMEOUT_SECS, |
| 289 | download_only: false, |
| 290 | identity: None, |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | /// Builder: set the remote name or URL. |
| 295 | pub fn with_remote(mut self, remote: impl Into<String>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected