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

Method bind_checkpoint_hash

atomic-agent/src/turn/orchestrator/tests.rs:83–91  ·  view source on GitHub ↗
(
        &self,
        _checkpoint: &JournalCheckpointAttempt,
        _hash: atomic_core::types::Hash,
        _session_turn: atomic_core::change::session::SessionTurn,
        _now: i64,
    )

Source from the content-addressed store, hash-verified

81 }
82
83 fn bind_checkpoint_hash(
84 &self,
85 _checkpoint: &JournalCheckpointAttempt,
86 _hash: atomic_core::types::Hash,
87 _session_turn: atomic_core::change::session::SessionTurn,
88 _now: i64,
89 ) -> Result<JournalCheckpointAttempt, String> {
90 unreachable!("checkpoint must not run when reservation fails")
91 }
92
93 fn acknowledge_checkpoint(
94 &self,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected