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

Method with_identity

atomic-cli/src/commands/pull/command.rs:343–346  ·  view source on GitHub ↗

Builder: set an explicit identity name override.

(mut self, identity: impl Into<String>)

Source from the content-addressed store, hash-verified

341
342 /// Builder: set an explicit identity name override.
343 pub fn with_identity(mut self, identity: impl Into<String>) -> Self {
344 self.identity = Some(identity.into());
345 self
346 }
347
348 fn may_materialize_working_copy(&self) -> bool {
349 !self.dry_run && !self.download_only

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected