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

Method allows_projection

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

Whether an Atomic→Git projection (export) may execute under this budget. Only a command boundary may move a mapped ref under its expected-old lease; the watch daemon is refused.

(self)

Source from the content-addressed store, hash-verified

64 /// budget. Only a command boundary may move a mapped ref under its
65 /// expected-old lease; the watch daemon is refused.
66 pub fn allows_projection(self) -> bool {
67 matches!(self, Self::Command)
68 }
69
70 /// Whether a filesystem materialization may execute under this budget.
71 /// Only a command boundary may write working-copy bytes; the watch

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected