-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fix: copy ignored tracked files #1074
Conversation
// manually close here after each file operation; deferring would cause each file close | ||
// to wait until all operations have completed. | ||
f.Close() |
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.
This comment is no longer valid, because the code block is wrapped by a function. Defer is executed directly after it returns to filepath.Walk
and before it goes on with the next entry.
@jsoref You might want to check if this fits your usecase.
|
MegaLinter status: ✅ SUCCESS
See errors details in artifact MegaLinter reports on CI Job page |
Codecov Report
@@ Coverage Diff @@
## master #1074 +/- ##
==========================================
+ Coverage 57.50% 60.01% +2.50%
==========================================
Files 32 39 +7
Lines 4594 4924 +330
==========================================
+ Hits 2642 2955 +313
+ Misses 1729 1727 -2
- Partials 223 242 +19
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
fix: temporary tar archive not deletable on windows fix: `.*` in gitignore ignores all files
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as duplicate.
This comment was marked as duplicate.
@ChristopherHX this pull request has failed checks 🛠 |
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.
Overall pretty good. I'll approve once the requested changes by @KnisterPeter / @catthehacker are committed.
@ChristopherHX this pull request has failed checks 🛠 |
Resolves #912
Resolves #1002
Closes #949
What I have tested:
I'm not shure how to write tests for this change.