mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 01:39:21 +03:00
revisionstore: remove the default flush from MutableDeltaStore
Summary: The method is now implemented in all stores, we can get rid of it. Reviewed By: kulshrax Differential Revision: D15416715 fbshipit-source-id: 6d6e6f5bfaf66796f66efbdc943e125b56808e39
This commit is contained in:
parent
6f7856c02b
commit
2b0ffccb2d
@ -41,9 +41,7 @@ pub trait DataStore: LocalStore {
|
||||
pub trait MutableDeltaStore {
|
||||
fn add(&mut self, delta: &Delta, metadata: &Metadata) -> Fallible<()>;
|
||||
fn close(self) -> Fallible<Option<PathBuf>>;
|
||||
fn flush(&mut self) -> Fallible<Option<PathBuf>> {
|
||||
unimplemented!()
|
||||
}
|
||||
fn flush(&mut self) -> Fallible<Option<PathBuf>>;
|
||||
}
|
||||
|
||||
/// Implement `DataStore` for all types that can be `Deref` into a `DataStore`. This includes all
|
||||
|
Loading…
Reference in New Issue
Block a user