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

Function provenance_graph_bytes

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

Source from the content-addressed store, hash-verified

328}
329
330pub fn provenance_graph_bytes(graph: Vec<u8>) -> pb::VersionedBytes {
331 versioned(PROVENANCE_GRAPH_SCHEMA, graph)
332}
333
334pub fn provenance_graph_from(bytes: Option<&pb::VersionedBytes>) -> Result<Vec<u8>, String> {
335 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