simplify cork interface related
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
a1ced0a56f
commit
6dd6e4bfaf
10 changed files with 26 additions and 22 deletions
|
@ -9,7 +9,7 @@ pub struct Cork {
|
|||
}
|
||||
|
||||
impl Cork {
|
||||
pub fn new(db: &Arc<Engine>, flush: bool, sync: bool) -> Self {
|
||||
pub(super) fn new(db: &Arc<Engine>, flush: bool, sync: bool) -> Self {
|
||||
db.cork();
|
||||
Self {
|
||||
db: db.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue