Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix
zcachedb logs
entry printing (openzfs#826)
When attempting to print chunks/entries (e.g. with `zcachedb logs --index`), if the `cffi::Slice` can be a direct memory (`Bytes`) reference, then the binary value of the entries is printed, rather than pretty-printing them. This commit provides a better `Debug` implementation for `cffi::Slice`, which fixes `zcachedb logs`.
- Loading branch information