mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 02:11:54 +00:00
remove revision cache (#62)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
use std::path::Path;
|
||||
|
||||
use patch_db::json_ptr::{JsonPointer, PtrSegment};
|
||||
use serde_json::Value;
|
||||
|
||||
@@ -25,7 +23,7 @@ async fn main() {
|
||||
Some(("dump", matches)) => {
|
||||
let path = matches.value_of("PATH").unwrap();
|
||||
let db = patch_db::PatchDb::open(path).await.unwrap();
|
||||
let dump = db.dump().await.unwrap();
|
||||
let dump = db.dump().await;
|
||||
serde_json::to_writer_pretty(&mut std::io::stdout(), &dump.value).unwrap();
|
||||
println!();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user