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 fs.stat #6258

Merged
merged 3 commits into from
Dec 16, 2024
Merged

feat(fs/unstable): add fs.stat #6258

merged 3 commits into from
Dec 16, 2024

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Dec 12, 2024

This PR adds stat API, which mostly mirrors Deno.stat, to @std/fs.

towards #6255

@github-actions github-actions bot added the fs label Dec 12, 2024
@kt3k kt3k changed the title feat(fs/unstable): add fs.stat feat(fs/unstable): add fs.stat Dec 12, 2024
Copy link

codecov bot commented Dec 12, 2024

Codecov Report

Attention: Patch coverage is 47.96748% with 64 lines in your changes missing coverage. Please review.

Project coverage is 96.35%. Comparing base (283cf34) to head (306bb5c).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
fs/_to_file_info.ts 7.14% 26 Missing ⚠️
fs/_map_error.ts 38.88% 11 Missing ⚠️
fs/unstable_errors.js 71.05% 11 Missing ⚠️
fs/unstable_stat.ts 52.63% 9 Missing ⚠️
fs/_utils.ts 65.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6258      +/-   ##
==========================================
- Coverage   96.49%   96.35%   -0.14%     
==========================================
  Files         536      541       +5     
  Lines       41179    41303     +124     
  Branches     6175     6179       +4     
==========================================
+ Hits        39734    39798      +64     
- Misses       1403     1463      +60     
  Partials       42       42              

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

@kt3k kt3k merged commit 34abfeb into denoland:main Dec 16, 2024
18 checks passed
@kt3k kt3k deleted the fs-unstable-stat branch December 16, 2024 02:54
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.

3 participants