From 0058f2835d8dfc8926cab4be163eb700d00207c6 Mon Sep 17 00:00:00 2001 From: Ryan Bottriell Date: Tue, 18 Jul 2023 15:21:30 -0700 Subject: [PATCH] Remove duplicate reporting of entries in render report Signed-off-by: Ryan Bottriell --- crates/spfs/src/storage/fs/renderer.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/spfs/src/storage/fs/renderer.rs b/crates/spfs/src/storage/fs/renderer.rs index 4c5aedf08..4fcd85e06 100644 --- a/crates/spfs/src/storage/fs/renderer.rs +++ b/crates/spfs/src/storage/fs/renderer.rs @@ -375,7 +375,7 @@ where } #[async_recursion::async_recursion] - pub async fn render_into_dir_fd( + async fn render_into_dir_fd( &self, root_dir_fd: Fd, tree: graph::Tree, @@ -403,7 +403,6 @@ where let root_dir_fd = root_dir_fd.as_raw_fd(); let mut stream = futures::stream::iter(entries) .then(move |entry| { - self.reporter.visit_entry(&entry); let fut = async move { let mut root_path = PathBuf::from(&entry.name); match entry.kind {