Signed-off-by: Zhang Wei <zhangwei555@huawei.com> Upstream-commit: 7e420ad8502089e66ce0ade92bf70574f894f287 Component: engine
14 lines
286 B
Go
14 lines
286 B
Go
// +build !windows
|
|
|
|
package system
|
|
|
|
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)
|
|
}
|