Skip to content

Commit

Permalink
Merge pull request #801 from imageworks/fix-render-progress-bars
Browse files Browse the repository at this point in the history
Remove duplicate reporting of entries in render report
  • Loading branch information
rydrman authored Jul 19, 2023
2 parents 974c7bc + 0058f28 commit c14872a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/spfs/src/storage/fs/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ where
}

#[async_recursion::async_recursion]
pub async fn render_into_dir_fd<Fd>(
async fn render_into_dir_fd<Fd>(
&self,
root_dir_fd: Fd,
tree: graph::Tree,
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit c14872a

Please sign in to comment.