Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ add_dependency
Method
add_dependency
atomic-repository/src/unrecord.rs:399–401 ·
view source on GitHub ↗
Add a dependency.
(&mut self, dep: Hash)
Source
from the content-addressed store, hash-verified
397
398
/// Add a dependency.
399
pub fn add_dependency(&mut self, dep: Hash) {
400
self.dependencies.push(dep);
401
}
402
403
/// Add a dependent.
404
pub fn add_dependent(&mut self, dep: Hash) {
Callers
1
test_dependency_info_add_dependency
Function · 0.45
Calls
1
push
Method · 0.45
Tested by
1
test_dependency_info_add_dependency
Function · 0.36