Get the local view name to pull into. Returns the explicitly specified `--to-view`, or defaults to the remote view being pulled — so `atomic pull --from-view X` pulls into a local view named `X`.
(&self, remote_view: &str)
| 397 | /// remote view being pulled — so `atomic pull --from-view X` pulls into |
| 398 | /// a local view named `X`. |
| 399 | fn get_local_view(&self, remote_view: &str) -> String { |
| 400 | self.to_view |
| 401 | .clone() |
| 402 | .unwrap_or_else(|| remote_view.to_string()) |
| 403 | } |
| 404 | |
| 405 | /// Build the HTTP remote configuration. |
| 406 | /// |