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

Function provenance_node_id

atomic-core/src/pristine/txn/write/session_kg.rs:41–43  ·  view source on GitHub ↗

Node id for a provenance graph.

(hash: &Hash)

Source from the content-addressed store, hash-verified

39
40/// Node id for a provenance graph.
41pub(crate) fn provenance_node_id(hash: &Hash) -> String {
42 format!("provenance:{}", hash.to_base32())
43}
44
45/// Node id for a change, using the enrichment convention (12-char truncated).
46pub(crate) fn change_node_id(hash: &Hash) -> String {

Callers 3

emit_turn_kgMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected