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

Method code

atomic-repository/src/repository/workspace_txn.rs:640–648  ·  view source on GitHub ↗

Stable observability class for this remediation (RFC §13 Phase 13 task 5). Codes are fixed; they never carry repository paths or observation payloads.

(&self)

Source from the content-addressed store, hash-verified

638 /// task 5). Codes are fixed; they never carry repository paths or
639 /// observation payloads.
640 pub fn code(&self) -> &'static str {
641 match self {
642 Self::GitOperationInProgress { .. } => "git_operation_in_progress",
643 Self::Unanchored { .. } => "unanchored",
644 Self::OperationHeadsDiverged { .. } => "operation_heads_diverged",
645 Self::ConcurrentGitMutation { .. } => "concurrent_git_mutation",
646 Self::GitLocksBusy { .. } => "git_locks_busy",
647 }
648 }
649
650 /// Stable observability code for the transaction mode this remediation
651 /// was produced under, when the variant carries one.

Callers 13

read_refFunction · 0.45
read_head_targetFunction · 0.45
read_head_resolvedFunction · 0.45
execute_ref_effectMethod · 0.45
execute_head_effectMethod · 0.45
observe_git_metadataFunction · 0.45
observe_metadata_headFunction · 0.45

Calls

no outgoing calls