Some parts of pkg/archive is called on both client/daemon code. To get it compiling on Windows, these funcs are extracted into files with build tags. Signed-off-by: Ahmet Alp Balkan <ahmetb@microsoft.com> Upstream-commit: 3d2fae353f6ddc819d3a3c4db80887a40ac6f5f0 Component: engine
9 lines
165 B
Go
9 lines
165 B
Go
// +build windows
|
|
|
|
package system
|
|
|
|
func Umask(newmask int) (oldmask int, err error) {
|
|
// should not be called on cli code path
|
|
return 0, ErrNotSupportedPlatform
|
|
}
|