Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(fs/unstable): add readDir #6338

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jbronder
Copy link
Contributor

@jbronder jbronder commented Jan 8, 2025

This PR adds the readDir API to @std/fs, which is a function intended to mirror Deno.readDir.

Towards #6255.

@jbronder jbronder requested a review from kt3k as a code owner January 8, 2025 04:22
@github-actions github-actions bot added the fs label Jan 8, 2025
Copy link

codecov bot commented Jan 8, 2025

Codecov Report

Attention: Patch coverage is 28.20513% with 28 lines in your changes missing coverage. Please review.

Project coverage is 96.27%. Comparing base (9b86f0f) to head (509ff08).

Files with missing lines Patch % Lines
fs/unstable_read_dir.ts 33.33% 20 Missing ⚠️
fs/_to_dir_entry.ts 11.11% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6338      +/-   ##
==========================================
- Coverage   96.36%   96.27%   -0.09%     
==========================================
  Files         547      549       +2     
  Lines       41731    41770      +39     
  Branches     6325     6325              
==========================================
+ Hits        40212    40214       +2     
- Misses       1478     1515      +37     
  Partials       41       41              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant