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

Method deep_equal

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

Check that two given contexts contain the same data, i.e. graphs, nodes, names, parameters. Underlying structures that contain pointers (graphs, nodes) are compared by data they refer to. # Arguments `context2` - context to compare # Returns `true` if the given contexts contain the same content, otherwise `false`

(&self, context2: Context)

Source from the content-addressed store, hash-verified

4326 ///
4327 /// `true` if the given contexts contain the same content, otherwise `false`
4328 pub fn deep_equal(&self, context2: Context) -> bool {
4329 contexts_deep_equal(self.clone(), context2)
4330 }
4331}
4332
4333fn serialize_hashmap<K, V>(map: HashMap<K, V>) -> Vec<(K, V)>

Callers

nothing calls this directly

Calls 2

contexts_deep_equalFunction · 0.85
cloneMethod · 0.80

Tested by

no test coverage detected