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

Method turn_status

libatomic/src/daemon/journal_sink.rs:349–359  ·  view source on GitHub ↗
(
        &self,
        session_id: &str,
        turn_number: u32,
    )

Source from the content-addressed store, hash-verified

347 }
348
349 fn turn_status(
350 &self,
351 session_id: &str,
352 turn_number: u32,
353 ) -> Result<Option<JournalTurnStatus>, String> {
354 let turn = self
355 .store()?
356 .get_provenance_turn_for(session_id, turn_number)
357 .map_err(|error| error.to_string())?;
358 Ok(turn.map(to_journal_turn_status))
359 }
360}
361
362// The frozen-page machinery stays ported (unused in-process today, but the

Callers

nothing calls this directly

Calls 2

storeMethod · 0.45

Tested by

no test coverage detected