Open stackinspector opened 3 months ago
This problem could only be found on Windows due to the different policies for handling file locks between Windows and Linux/macOS.
I was wrong. unwrap
-then-abort leaves error message at least.
Agreed. This should be better.
What would you expect sendme send .
to do? Error out or ignore the data directory that contains the blobs.db
?
IMHO, I would expect it to ignore it's own, sendme
related files, but attempt to send everything else; possibly also ignore dot-prefixed files and directories, and also ignore files as per .gitignore
send
ing current directory will cause a file occupied error while iterating to the db file that just created, and any errors will cause the program to exit silently. In my opinion, an ad-hoc tool can show its raw errors regardless of whether the user can read them or not, but it can't ignore them and exit silently! The current approach is tantamount tounwrap
ing on everyResult
s and setting panic behavior toabort
!