Remove a change from the store. # Arguments `hash` - The hash of the change to remove # Returns The removed change, if it existed.
(&self, hash: &Hash)
| 389 | /// |
| 390 | /// The removed change, if it existed. |
| 391 | pub fn remove(&self, hash: &Hash) -> Option<Change> { |
| 392 | self.changes.write().unwrap().remove(hash) |
| 393 | } |
| 394 | |
| 395 | /// Get the number of changes in the store. |
| 396 | pub fn len(&self) -> usize { |