trashy icon indicating copy to clipboard operation
trashy copied to clipboard

Missing File Causes Panic

Open mcmah309 opened this issue 4 months ago • 0 comments

If you hand remove a file in $HOME/.local/share/Trash/files/.... Any subsequent run runs of trash empty will panic.

henry@nixos:~/work/my_packages/flutter/fastembed_flutter (master)$ trash empty --all --force
thread 'main' panicked at /build/trashy-2.0.0-vendor.tar.gz/trash/src/freedesktop.rs:238:9:
assertion failed: file.exists()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

mcmah309 avatar Oct 21 '24 21:10 mcmah309