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)
| 365 | /// |
| 366 | /// The removed change, if it existed. |
| 367 | pub fn remove(&self, hash: &Hash) -> Option<Change> { |
| 368 | self.changes.write().unwrap().remove(hash) |
| 369 | } |
| 370 | |
| 371 | /// Get the number of changes in the store. |
| 372 | pub fn len(&self) -> usize { |