[PR #481] [CLOSED] Less fs::metadata call in fn walk( #504

Closed
opened 2026-06-08 11:28:54 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bootandy/dust/pull/481
Author: @ldm0
Created: 3/30/2025
Status: Closed

Base: masterHead: reduce_metadata


📝 Commits (1)

  • 7b146b5 Less fs::metadata call in walk

📊 Changes

1 file changed (+6 additions, -2 deletions)

View changed files

📝 src/dir_walker.rs (+6 -2)

📄 Description

PathBuf::is_dir/PathBuf::is_file calls fs::metadata individually and can be squashed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bootandy/dust/pull/481 **Author:** [@ldm0](https://github.com/ldm0) **Created:** 3/30/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `reduce_metadata` --- ### 📝 Commits (1) - [`7b146b5`](https://github.com/bootandy/dust/commit/7b146b5d80d1af44abaa7f64dd36609d5b8ef88d) Less fs::metadata call in walk ### 📊 Changes **1 file changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/dir_walker.rs` (+6 -2) </details> ### 📄 Description `PathBuf::is_dir`/`PathBuf::is_file` calls `fs::metadata` individually and can be squashed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-06-08 11:28:54 +03:00
zhus closed this issue 2026-06-08 11:28:55 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#504