Add a dependency on an existing change. Dependencies are automatically deduplicated. # Arguments `hash` - Hash of the change to depend on
(&mut self, hash: Hash)
| 145 | /// |
| 146 | /// * `hash` - Hash of the change to depend on |
| 147 | pub fn add_dependency(&mut self, hash: Hash) { |
| 148 | self.dependencies.insert(hash); |
| 149 | } |
| 150 | |
| 151 | /// Add a dependency by node ID, looking up the hash. |
| 152 | /// |