e92906f717
Signed-off-by: John Howard <jhoward@microsoft.com>
19 lines
426 B
Go
19 lines
426 B
Go
// +build !windows
|
|
|
|
package system
|
|
|
|
import (
|
|
"os"
|
|
"path/filepath"
|
|
)
|
|
|
|
// 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)
|
|
}
|
|
|
|
// IsAbs is a platform-specific wrapper for filepath.IsAbs.
|
|
func IsAbs(path string) bool {
|
|
return filepath.IsAbs(path)
|
|
}
|