3a946f5291
It was only used in a couple of places, and in most places shouldn't be used
as those locations were in unix/linux-only files, so didn't need the wrapper.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 4347080b46
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
6 lines
118 B
Go
6 lines
118 B
Go
package archive
|
|
|
|
// overrideUmask is a no-op on windows.
|
|
func overrideUmask(newmask int) func() {
|
|
return func() {}
|
|
}
|