github.com/Prakhar-Agarwal-byte/moby@v0.0.0-20231027092010-a14e3e8ab87e/pkg/system/filesys_unix.go (about) 1 //go:build !windows 2 3 package system // import "github.com/Prakhar-Agarwal-byte/moby/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 }