foyer-rs / foyer

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

fix: no panic on zero length entry #674

Closed MrCroxx closed 2 months ago

MrCroxx commented 2 months 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)

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files with missing lines Coverage Δ
foyer-storage/src/large/flusher.rs 95.34% <100.00%> (ø)