Create a new Stash command with default settings.
()
| 202 | impl Stash { |
| 203 | /// Create a new Stash command with default settings. |
| 204 | pub fn new() -> Self { |
| 205 | Self { |
| 206 | command: None, |
| 207 | message: None, |
| 208 | include_untracked: false, |
| 209 | keep: false, |
| 210 | } |
| 211 | } |
| 212 | |
| 213 | /// Builder: set the message. |
| 214 | pub fn with_message(mut self, message: impl Into<String>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected