Get the remote view name to pull from. Returns the explicitly specified `--from-view`, or the current view when omitted.
(&self, current_view: &str)
| 386 | /// Returns the explicitly specified `--from-view`, or the current view |
| 387 | /// when omitted. |
| 388 | fn get_remote_view(&self, current_view: &str) -> String { |
| 389 | self.from_view |
| 390 | .clone() |
| 391 | .unwrap_or_else(|| current_view.to_string()) |
| 392 | } |
| 393 | |
| 394 | /// Get the local view name to pull into. |
| 395 | /// |