foyer-rs / foyer

Hybrid in-memory and disk cache in Rust
https://foyer.rs
Apache License 2.0
291 stars 20 forks source link

chore: warn if DirectFileDevice is used in a fs #730

Closed MrCroxx closed 1 month ago

MrCroxx commented 1 month ago

What's changed and what's your intention?

Please explain IN DETAIL what the changes are in this PR and why they are needed. :D

As title.

Checklist

Related issues or PRs (optional)

close #715

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
foyer-storage/src/device/direct_file.rs 50.00% 1 Missing :warning:
Files with missing lines Coverage Δ
foyer-storage/src/device/direct_file.rs 85.08% <50.00%> (-0.40%) :arrow_down:

... and 1 file with indirect coverage changes