MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / at_path

Method at_path

atomic-cli/src/commands/init.rs:369–379  ·  view source on GitHub ↗

Create a new Init command targeting a specific path.

(path: P)

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected