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

Function reconcile

atomic-cli/src/commands/git/shim.rs:774–783  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

772}
773
774fn reconcile() -> CliResult<()> {
775 let root = find_repository_root()?;
776 linked_worktree::refuse_shim_command(&root)?;
777 // The transaction brackets the FileWatcher with atomic-bridge enter/leave,
778 // including failure cleanup; shim-originated writes inside the span are
779 // self-suppressed so they never feed back into reconciliation.
780 bracket_bridge_transaction(watcher_config(&root), "shim-reconcile", || {
781 reconcile_transaction_budgeted(&root, ReconcileEffectBudget::Command, None)
782 })
783}
784
785/// Load the repository configuration for `root` (review R4: the shim
786/// consent surface is read where it is acted on, not only in tests).

Callers 1

runMethod · 0.70

Calls 5

find_repository_rootFunction · 0.85
refuse_shim_commandFunction · 0.85
watcher_configFunction · 0.85

Tested by

no test coverage detected