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

Method get_dependencies

atomic-core/src/change/store.rs:220–222  ·  view source on GitHub ↗

Get the dependencies of a change. # Arguments `hash` - The content hash of the change # Returns The list of dependency hashes.

(&self, hash: &Hash)

Source from the content-addressed store, hash-verified

218 ///
219 /// The list of dependency hashes.
220 fn get_dependencies(&self, hash: &Hash) -> Result<Vec<Hash>, Self::Error> {
221 Ok(self.get_change(hash)?.hashed.dependencies)
222 }
223
224 /// Check if a change knows about another change.
225 ///

Callers 1

test_get_dependenciesFunction · 0.45

Implementers 1

store.rsatomic-core/src/change/store.rs

Calls 1

get_changeMethod · 0.45

Tested by 1

test_get_dependenciesFunction · 0.36