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

Method is_metadata_only

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

Whether this is the metadata-only reactive budget. A metadata-only boundary must refuse every effect-bearing step *before* it runs: writable-open recovery, bound HEAD adoption (shelf planner/executor, WIP capture, ref deletion), and import bootstrap/materialization are all outside its grant (CB-13D review R1).

(self)

Source from the content-addressed store, hash-verified

80 /// WIP capture, ref deletion), and import bootstrap/materialization
81 /// are all outside its grant (CB-13D review R1).
82 pub fn is_metadata_only(self) -> bool {
83 matches!(self, Self::MetadataOnly)
84 }
85}
86
87/// Whether the observed Git state is quiescent enough for a reactive

Callers 4

open_onceMethod · 0.45
attempt_head_adoptionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected