-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We shouldn't let Afero decide the temporary dir for us, since this could end up on a different filesystem than the repository, and rename() don't work cross filesystems. We don't want to alter .gitignore (which can be edited/managed by someone else or elsewhere), but we can use the local-only .git/info/exclude exclusion file (https://git-scm.com/docs/gitignore). Which allows us to create our temporary files in the repository itself, and keep everything else (even /tmp) read-only.
- Loading branch information
Showing
3 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters