-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
force-remove all files on Close #2120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @tgulacsi, please resolve the merge conflicts.
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:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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