Create a new Split command with the given name.
(name: impl Into<String>)
| 132 | impl Split { |
| 133 | /// Create a new Split command with the given name. |
| 134 | pub fn new(name: impl Into<String>) -> Self { |
| 135 | Self { |
| 136 | name: name.into(), |
| 137 | source: None, |
| 138 | switch: false, |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | /// Builder: set the source view to split from. |
| 143 | pub fn with_source(mut self, source: impl Into<String>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected