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

Function format_scope

atomic-cli/src/commands/op/output.rs:501–506  ·  view source on GitHub ↗
(scope: &OperationScopeDto)

Source from the content-addressed store, hash-verified

499}
500
501fn format_scope(scope: &OperationScopeDto) -> String {
502 match scope {
503 OperationScopeDto::Repository => "repository".to_string(),
504 OperationScopeDto::WorkingCopy { id } => format!("working_copy:{id}"),
505 }
506}
507
508fn format_actor(actor: &ActorDto) -> String {
509 match actor {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected