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

Function session_turn_from

libatomic/src/daemon/sandbox_wire.rs:345–347  ·  view source on GitHub ↗
(bytes: Option<&pb::VersionedBytes>)

Source from the content-addressed store, hash-verified

343}
344
345pub fn session_turn_from(bytes: Option<&pb::VersionedBytes>) -> Result<SessionTurn, String> {
346 serde_json::from_slice(payload(bytes, SESSION_TURN_SCHEMA)?).map_err(|e| e.to_string())
347}
348
349pub fn publication_proto(
350 publication: &SessionCheckpointPublication,

Callers 1

publish_provenanceMethod · 0.85

Calls 1

payloadFunction · 0.85

Tested by

no test coverage detected