github.com/rumpl/bof@v23.0.0-rc.2+incompatible/pkg/system/filesys_unix.go (about)

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