github.com/moby/docker@v26.1.3+incompatible/pkg/system/filesys_unix.go (about) 1 //go:build !windows 2 3 package system // import "github.com/docker/docker/pkg/system" 4 5 import "os" 6 7 // MkdirAllWithACL is a wrapper for os.MkdirAll on unix systems. 8 func MkdirAllWithACL(path string, perm os.FileMode, sddl string) error { 9 return os.MkdirAll(path, perm) 10 } 11 12 // MkdirAll creates a directory named path along with any necessary parents, 13 // with permission specified by attribute perm for all dir created. 14 func MkdirAll(path string, perm os.FileMode) error { 15 return os.MkdirAll(path, perm) 16 }