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

Method add_dependency

atomic-core/src/record/workflow/assembly/mod.rs:260–264  ·  view source on GitHub ↗

Add a dependency. # Arguments `hash` - The dependency hash

(&mut self, hash: Hash)

Source from the content-addressed store, hash-verified

258 ///
259 /// * `hash` - The dependency hash
260 pub fn add_dependency(&mut self, hash: Hash) {
261 if self.dependencies.insert(hash) {
262 self.stats.dependencies_added += 1;
263 }
264 }
265
266 /// Add multiple dependencies.
267 ///

Callers 4

add_dependenciesMethod · 0.45
assemble_changeFunction · 0.45

Calls 1

insertMethod · 0.45

Tested by 2