github.com/akerouanton/docker@v1.11.0-rc3/pkg/idtools/idtools_windows.go (about) 1 // +build windows 2 3 package idtools 4 5 import ( 6 "os" 7 8 "github.com/docker/docker/pkg/system" 9 ) 10 11 // Platforms such as Windows do not support the UID/GID concept. So make this 12 // just a wrapper around system.MkdirAll. 13 func mkdirAs(path string, mode os.FileMode, ownerUID, ownerGID int, mkAll, chownExisting bool) error { 14 if err := system.MkdirAll(path, mode); err != nil && !os.IsExist(err) { 15 return err 16 } 17 return nil 18 }