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

Function boundary_mode

atomic-cli/src/commands/workspace_txn.rs:14–20  ·  view source on GitHub ↗

Select the explicit workspace transaction mode for a network boundary. Dry-run/reporting boundaries observe without mutation; every other selection reconciles safe drift and refuses unsafe states.

(dry_run: bool)

Source from the content-addressed store, hash-verified

12/// Dry-run/reporting boundaries observe without mutation; every other
13/// selection reconciles safe drift and refuses unsafe states.
14pub(crate) fn boundary_mode(dry_run: bool) -> WorkspaceTxnMode {
15 if dry_run {
16 WorkspaceTxnMode::Observe
17 } else {
18 WorkspaceTxnMode::Reconcile
19 }
20}
21
22/// Enter a stable workspace transaction or convert remediation into one CLI refusal.
23pub(crate) fn enter_workspace(

Callers 5

fetchFunction · 0.85
resurrectFunction · 0.85
queueFunction · 0.85
run_asyncMethod · 0.85
run_asyncMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected