Create a new Init command targeting a specific path.
(path: P)
| 367 | |
| 368 | /// Create a new Init command targeting a specific path. |
| 369 | pub fn at_path<P: Into<PathBuf>>(path: P) -> Self { |
| 370 | Self { |
| 371 | path: path.into(), |
| 372 | view: DEFAULT_VIEW_NAME.to_string(), |
| 373 | kind: None, |
| 374 | vault: true, |
| 375 | no_vault: false, |
| 376 | adopt_git: false, |
| 377 | binding_key_file: None, |
| 378 | } |
| 379 | } |
| 380 | |
| 381 | /// Builder: set the initial view name. |
| 382 | pub fn with_view(mut self, view: impl Into<String>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected