
Removed pre-go1.17 build-tags with go fix; go mod init go fix -mod=readonly ./... rm go.mod Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
16 lines
503 B
Go
16 lines
503 B
Go
//go:build !windows
|
|
|
|
package system // import "github.com/docker/docker/pkg/system"
|
|
|
|
import "os"
|
|
|
|
// MkdirAllWithACL is a wrapper for os.MkdirAll on unix systems.
|
|
func MkdirAllWithACL(path string, perm os.FileMode, sddl string) error {
|
|
return os.MkdirAll(path, perm)
|
|
}
|
|
|
|
// MkdirAll creates a directory named path along with any necessary parents,
|
|
// with permission specified by attribute perm for all dir created.
|
|
func MkdirAll(path string, perm os.FileMode) error {
|
|
return os.MkdirAll(path, perm)
|
|
}
|