MCPcopy Create free account
hub / github.com/ciphermodelabs/ciphercore / get_graph

Method get_graph

ciphercore-base/src/custom_ops.rs:380–385  ·  view source on GitHub ↗

Panics if `graph` is not in `graph_mapping`

(&self, graph: Graph)

Source from the content-addressed store, hash-verified

378
379 /// Panics if `graph` is not in `graph_mapping`
380 pub fn get_graph(&self, graph: Graph) -> Graph {
381 self.graph_mapping
382 .get(&graph)
383 .expect("Graph is not found in graph_mapping")
384 .clone()
385 }
386
387 /// Panics if `node` is not in `node_mapping`
388 pub fn get_node(&self, node: Node) -> Node {

Callers 3

run_instantiation_passFunction · 0.45
test_notFunction · 0.45
test_orFunction · 0.45

Calls 2

cloneMethod · 0.80
getMethod · 0.45

Tested by 2

test_notFunction · 0.36
test_orFunction · 0.36