Create a new Switch command targeting the given view.
(name: impl Into<String>)
| 96 | impl Switch { |
| 97 | /// Create a new Switch command targeting the given view. |
| 98 | pub fn with_name(name: impl Into<String>) -> Self { |
| 99 | Self { |
| 100 | name: Some(name.into()), |
| 101 | force: false, |
| 102 | stash: false, |
| 103 | } |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | fn checkpoint_shadow_switch( |
nothing calls this directly
no outgoing calls
no test coverage detected