Integration questions #77
-
Hey! I'm a maintainer of kondo, a tool to delete artifacts like I'm looking into supporting trashing as an option. Kondo's current behaviour is a recursive delete. I was wondering if there would be any particular behaviours or issues you foresee when integrating I'm also curious about the performance difference between deletion of a large directory with many files and moving it to trash, do you have any insight here? Hope this location is okay to ask these questions :) otherwise I'm happy to talk in tbillington/kondo#96 too. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for considering using The issue you find actually has been resolved already (and just recently), and was just left-over. With that said, on windows it can't delete a single folder right now, but will instead delete each file recursively. This is certainly not optimal for performance, and maybe has another, better solution. The current one is clearly just at the level of 'getting it to work'.
On unix, any directory is just a single item, but on windows it's the entire contents. I also don't know if the test-suite covers the restoration of all of these recursively deleted files, or how this looks in the windows UI. I recommend trying the examples to see for yourself. |
Beta Was this translation helpful? Give feedback.
Thanks for considering using
trash-rs
:)!The issue you find actually has been resolved already (and just recently), and was just left-over. With that said, on windows it can't delete a single folder right now, but will instead delete each file recursively. This is certainly not optimal for performance, and maybe has another, better solution. The current one is clearly just at the level of 'getting it to work'.
On unix, any directory is just a single item, but on windows it's the entire contents. I also don't know if the test-suite…