remove revision cache

This commit is contained in:
Aiden McClelland
2023-10-16 15:54:53 -06:00
parent 3e5cc22bb6
commit f5849c7884
2 changed files with 14 additions and 59 deletions

View File

@@ -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!();
}