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

Function frontier_closure_of

atomic-cli/tests/it/git_import_cb9b_test.rs:206–212  ·  view source on GitHub ↗
(
    repo: &atomic_repository::Repository,
    change: &atomic_core::change::Change,
)

Source from the content-addressed store, hash-verified

204}
205
206fn frontier_closure_of(
207 repo: &atomic_repository::Repository,
208 change: &atomic_core::change::Change,
209) -> atomic_core::change::VerifiedCausalFrontier {
210 let txn = repo.pristine().read_txn().unwrap();
211 atomic_core::apply::verify_causal_frontier(&txn, change).expect("frontier verifies")
212}
213
214/// Two-branch merge fixture: base → side-a / side-b, merged into main with
215/// a manual conflict resolution. Single-branch import is the CB-9B flow:

Calls 4

verify_causal_frontierFunction · 0.85
read_txnMethod · 0.80
pristineMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected