Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Replaces fs-err in snapshot_version_from_file() #34904

Merged

Conversation

brooksprumo
Copy link
Contributor

@brooksprumo brooksprumo commented Jan 23, 2024

Problem

We're trying to remove the fs-err crate. For more information, please refer to #34838.

snapshot_utils::snapshot_version_from_file() still uses fs-err, but doesn't need to.

Summary of Changes

Replace fs-err with std::fs

@brooksprumo brooksprumo self-assigned this Jan 23, 2024
@brooksprumo brooksprumo marked this pull request as ready for review January 23, 2024 16:27
@brooksprumo brooksprumo requested a review from HaoranYi January 23, 2024 16:27
Copy link

codecov bot commented Jan 23, 2024

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (8ff511e) 81.6% compared to head (569743d) 81.6%.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #34904     +/-   ##
=========================================
- Coverage    81.6%    81.6%   -0.1%     
=========================================
  Files         827      827             
  Lines      223884   223895     +11     
=========================================
+ Hits       182841   182843      +2     
- Misses      41043    41052      +9     

Copy link
Contributor

@HaoranYi HaoranYi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@brooksprumo brooksprumo merged commit c30db7a into solana-labs:master Jan 23, 2024
35 checks passed
@brooksprumo brooksprumo deleted the errors/snapshot_version_from_file branch January 23, 2024 19:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants