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

Function provenance_graph_bytes

libatomic/src/daemon/sandbox_wire.rs:371–373  ·  view source on GitHub ↗
(graph: Vec<u8>)

Source from the content-addressed store, hash-verified

369}
370
371pub fn provenance_graph_bytes(graph: Vec<u8>) -> pb::VersionedBytes {
372 versioned(PROVENANCE_GRAPH_SCHEMA, graph)
373}
374
375pub fn provenance_graph_from(bytes: Option<&pb::VersionedBytes>) -> Result<Vec<u8>, String> {
376 Ok(payload(bytes, PROVENANCE_GRAPH_SCHEMA)?.to_vec())

Callers 2

publish_provenanceMethod · 0.85
publish_provenanceMethod · 0.85

Calls 1

versionedFunction · 0.85

Tested by 1

publish_provenanceMethod · 0.68