Skip to content

Commit

Permalink
100%
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-shandar committed Feb 22, 2024
1 parent 0ebdccf commit 08d13f0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions blockset-lib/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,8 @@ pub fn run(io: &impl Io) -> io::Result<()> {
"get" => {
let d = get_hash(&mut a)?;
let path = a.next().ok_or(invalid_input("missing file name"))?;
FileForest(io).restore(
&ForestNodeId::new(NodeType::Root, &d),
&mut io.create(&path)?,
io,
)
let w = &mut io.create(&path)?;
FileForest(io).restore(&ForestNodeId::new(NodeType::Root, &d), w, io)
}
"info" => println(
stdout,
Expand Down

0 comments on commit 08d13f0

Please sign in to comment.