I did a small tool that clone SSD devices with @rustlang just like dd or ddrescue would do except that it skips sectors with only zeroes. My idea is that I would avoid allocating sectors that are actually empty on the SSDhttps://gitlab.com/cecton/ddssd
-
Show this thread
-
I wonder if there is a lib in
@rustlang to help testing functions that use Read, Write and Seek? I used tempfile for that but then I don't have the Index trait on it so it's a bit cumbersome to use for writing tests1 reply 1 retweet 3 likesShow this thread
Replying to @CecileTonglet @rustlang
I don't think you need a library for that. std::io::Cursor should work great: https://doc.rust-lang.org/std/io/struct.Cursor.html …
0 replies
1 retweet
8 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.