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

Function provenance_graph_from

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

Source from the content-addressed store, hash-verified

373}
374
375pub fn provenance_graph_from(bytes: Option<&pb::VersionedBytes>) -> Result<Vec<u8>, String> {
376 Ok(payload(bytes, PROVENANCE_GRAPH_SCHEMA)?.to_vec())
377}
378
379pub fn session_turn_bytes(turn: &SessionTurn) -> Result<pb::VersionedBytes, String> {
380 Ok(versioned(

Callers 1

publish_provenanceMethod · 0.85

Calls 1

payloadFunction · 0.85

Tested by

no test coverage detected