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

Method with_identity

atomic-cli/src/commands/push/command.rs:336–339  ·  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

334
335 /// Builder: set an explicit identity name override.
336 pub fn with_identity(mut self, identity: impl Into<String>) -> Self {
337 self.identity = Some(identity.into());
338 self
339 }
340
341 /// Resolve the remote and optional identity override.
342 fn resolve_remote_url(&self, repo: &Repository) -> CliResult<(String, String, Option<String>)> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected