webhook/internal/pidfile/mkdirall.go
2023-01-09 22:02:57 +08:00

12 lines
302 B
Go

//go:build !windows
// +build !windows
package pidfile
import "os"
// 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)
}