From 83fd9e1a930f330b73445b1fff9268a9beb61c9a Mon Sep 17 00:00:00 2001 From: Alexander Weiss Date: Mon, 25 Jul 2022 06:14:28 +0200 Subject: [PATCH] restore: print detailed information at high verbosity --- src/commands/restore.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/restore.rs b/src/commands/restore.rs index 179b921..7b365f7 100644 --- a/src/commands/restore.rs +++ b/src/commands/restore.rs @@ -67,6 +67,7 @@ async fn allocate_and_collect( let mut node_streamer = NodeStreamer::new(index.clone(), tree).await?; while let Some((path, node)) = node_streamer.try_next().await? { + v3!("processing {:?}", path); match node.node_type() { NodeType::Dir => { if !opts.dry_run { @@ -188,6 +189,7 @@ async fn restore_metadata( } fn set_metadata(dest: &LocalBackend, path: &PathBuf, node: &Node, opts: &Opts) { + v3!("processing {:?}", path); dest.create_special(path, node) .unwrap_or_else(|_| eprintln!("restore {:?}: creating special file failed.", path)); if opts.numeric_id {