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

Function provenance_graph_from

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

Source from the content-addressed store, hash-verified

332}
333
334pub fn provenance_graph_from(bytes: Option<&pb::VersionedBytes>) -> Result<Vec<u8>, String> {
335 Ok(payload(bytes, PROVENANCE_GRAPH_SCHEMA)?.to_vec())
336}
337
338pub fn session_turn_bytes(turn: &SessionTurn) -> Result<pb::VersionedBytes, String> {
339 Ok(versioned(

Callers 1

publish_provenanceMethod · 0.85

Calls 1

payloadFunction · 0.85

Tested by

no test coverage detected