Files that are suffixed with `_linux.go` or `_windows.go` are already only built on Linux / Windows, so these build-tags were redundant. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 6ed1163c98703f8dd0693cecbadc84d2cda811c3 Component: engine
8 lines
197 B
Go
8 lines
197 B
Go
package system
|
|
|
|
// Umask is not supported on the windows platform.
|
|
func Umask(newmask int) (oldmask int, err error) {
|
|
// should not be called on cli code path
|
|
return 0, ErrNotSupportedPlatform
|
|
}
|