rust-extensions icon indicating copy to clipboard operation
rust-extensions copied to clipboard

Remove read_file_to_str helper

Open mxpv opened this issue 2 years ago • 1 comments

Use fs::read_to_string from stdlib/tokio instead.

mxpv avatar Feb 22 '24 18:02 mxpv

Codecov Report

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

Comparison is base (cc445f5) 38.08% compared to head (8753903) 38.02%.

Files Patch % Lines
crates/shim/src/asynchronous/util.rs 20.00% 4 Missing :warning:
crates/runc-shim/src/runc.rs 0.00% 2 Missing :warning:
crates/shim/src/asynchronous/mod.rs 0.00% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #245      +/-   ##
==========================================
- Coverage   38.08%   38.02%   -0.06%     
==========================================
  Files          55       55              
  Lines        5099     5086      -13     
==========================================
- Hits         1942     1934       -8     
+ Misses       3157     3152       -5     
Flag Coverage Δ
unittests 38.02% <12.50%> (-0.06%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Feb 22 '24 18:02 codecov-commenter