force-remove all files on Close#2120
Conversation
|
Hmm, I've started from v2, should it've been master ? |
|
Yeah, please made changes based on master branch. |
0f39dd4 to
a8c0fed
Compare
|
(Just a warning: the new TestZip64 needs at least 4GiB of temp space. I've had to increase my /tmp (its a tmpfs) - not a problem, just otherwise that test fails. Shall we Skip it if not enough space is there?) |
|
I don't recommend skipping this test, only skipping it in GitHub Action pipeline. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2120 +/- ##
=======================================
Coverage 99.23% 99.23%
=======================================
Files 32 32
Lines 30192 30196 +4
=======================================
+ Hits 29961 29965 +4
Misses 153 153
Partials 78 78
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
xuri
left a comment
There was a problem hiding this comment.
LGTM, thanks for your contribution.
PR Details
Force removing of all temporary files on File.Close().
Description
Don't quit on error while removing temp files during iteration over tempFiles Map.
Related Issue
#2119
Motivation and Context
Some of the temp files may be left there, occupying space.
How Has This Been Tested
go test
Types of changes
Checklist