MCPcopy Index your code
hub / github.com/ciphermodelabs/ciphercore / upgrade

Method upgrade

ciphercore-base/src/graphs.rs:1352–1356  ·  view source on GitHub ↗

upgrade function panics if the the Node pointer it downgraded from went out of scope

(&self)

Source from the content-addressed store, hash-verified

1350impl WeakNode {
1351 //upgrade function panics if the the Node pointer it downgraded from went out of scope
1352 fn upgrade(&self) -> Node {
1353 Node {
1354 body: self.body.upgrade().unwrap(),
1355 }
1356 }
1357}
1358
1359impl Clone for WeakNode {

Callers 9

cached_node_typeMethod · 0.80
get_graphMethod · 0.80
get_node_dependenciesMethod · 0.80
get_output_nodeMethod · 0.80
get_contextMethod · 0.80
get_main_graphMethod · 0.80
graphs_deep_equalFunction · 0.80
contexts_deep_equalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected