Insert a change into the store. # Arguments `hash` - The hash to use as the key `change` - The change to store
(&self, hash: Hash, change: Change)
| 357 | /// * `hash` - The hash to use as the key |
| 358 | /// * `change` - The change to store |
| 359 | pub fn insert(&self, hash: Hash, change: Change) { |
| 360 | self.changes.write().unwrap().insert(hash, change); |
| 361 | } |
| 362 | |
| 363 | /// Insert a change, computing its hash automatically. |
| 364 | /// |