github.com/mheon/docker@v0.11.2-0.20150922122814-44f47903a831/builder/internals_windows.go (about) 1 // +build windows 2 3 package builder 4 5 import ( 6 "io/ioutil" 7 8 "github.com/docker/docker/pkg/longpath" 9 ) 10 11 func getTempDir(dir, prefix string) (string, error) { 12 tempDir, err := ioutil.TempDir(dir, prefix) 13 if err != nil { 14 return "", err 15 } 16 return longpath.AddPrefix(tempDir), nil 17 } 18 19 func fixPermissions(source, destination string, uid, gid int, destExisted bool) error { 20 // chown is not supported on Windows 21 return nil 22 }