515e7481de
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>
11 lines
148 B
Go
11 lines
148 B
Go
// +build !windows
|
|
|
|
package system
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
func Umask(newmask int) (oldmask int, err error) {
|
|
return syscall.Umask(newmask), nil
|
|
}
|