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

Method as_str

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

Stable observability code for this mode (RFC §13 Phase 13 task 5).

(self)

Source from the content-addressed store, hash-verified

575impl WorkspaceTxnMode {
576 /// Stable observability code for this mode (RFC §13 Phase 13 task 5).
577 pub fn as_str(self) -> &'static str {
578 match self {
579 Self::Reconcile => "reconcile",
580 Self::Observe => "observe",
581 Self::Force => "force",
582 }
583 }
584}
585
586/// Mode-independent corrective information returned instead of unsafe mutation.

Callers 2

mode_codeMethod · 0.45
classify_git_stateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected