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

Method add_dependency

atomic-core/src/record/workflow/globalize/context.rs:207–209  ·  view source on GitHub ↗

Add a dependency on an existing change. Dependencies are automatically deduplicated. # Arguments `hash` - Hash of the change to depend on

(&mut self, hash: Hash)

Source from the content-addressed store, hash-verified

205 ///
206 /// * `hash` - Hash of the change to depend on
207 pub fn add_dependency(&mut self, hash: Hash) {
208 self.dependencies.insert(hash);
209 }
210
211 /// Add a dependency by node ID, looking up the hash.
212 ///

Callers 3

ensure_directory_anchorFunction · 0.45
globalize_name_conflictFunction · 0.45

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected