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

Function session_turn_from

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

Source from the content-addressed store, hash-verified

384}
385
386pub fn session_turn_from(bytes: Option<&pb::VersionedBytes>) -> Result<SessionTurn, String> {
387 serde_json::from_slice(payload(bytes, SESSION_TURN_SCHEMA)?).map_err(|e| e.to_string())
388}
389
390pub fn publication_proto(
391 publication: &SessionCheckpointPublication,

Callers 1

publish_provenanceMethod · 0.85

Calls 1

payloadFunction · 0.85

Tested by

no test coverage detected