mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00

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>
8 lines
165 B
Go
8 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
|
|
}
|