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

Method depends_on

atomic-core/src/change/change.rs:846–848  ·  view source on GitHub ↗

Check if this change depends on another change.

(&self, hash: &Hash)

Source from the content-addressed store, hash-verified

844
845 /// Check if this change depends on another change.
846 pub fn depends_on(&self, hash: &Hash) -> bool {
847 self.hashed.dependencies.contains(hash)
848 }
849
850 /// Sign this change in place with an Ed25519 secret key.
851 ///

Callers

nothing calls this directly

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected