Add a dependency on an existing change. Dependencies are automatically deduplicated. # Arguments `hash` - Hash of the change to depend on
(&mut self, hash: Hash)
| 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 | /// |
no test coverage detected