2 ms·
How would you use Rust with that approach?
by imiric 4y ago
How would you use Rust with that approach?
- Amine_Ztn 4y agoWhen a person delete an item, I get all the information that are interesting for me (https://github.com/AmineZouitine/rmt.rs/blob/main/src/trash_item.rs https://github.com/AmineZouitine/rmt.rs/blob/main/src/trash_...), and then I move it in a .trash folder in which I rename it with a hash (the hash is made with several parameters to avoid any collision), I then store the information in a database sqlite :)