|
@@ -3,10 +3,7 @@
|
|
|
|
|
|
package system // import "github.com/docker/docker/pkg/system"
|
|
package system // import "github.com/docker/docker/pkg/system"
|
|
|
|
|
|
-import (
|
|
|
|
- "os"
|
|
|
|
- "path/filepath"
|
|
|
|
-)
|
|
|
|
|
|
+import "os"
|
|
|
|
|
|
// MkdirAllWithACL is a wrapper for os.MkdirAll on unix systems.
|
|
// MkdirAllWithACL is a wrapper for os.MkdirAll on unix systems.
|
|
func MkdirAllWithACL(path string, perm os.FileMode, sddl string) error {
|
|
func MkdirAllWithACL(path string, perm os.FileMode, sddl string) error {
|
|
@@ -19,11 +16,6 @@ func MkdirAll(path string, perm os.FileMode) error {
|
|
return os.MkdirAll(path, perm)
|
|
return os.MkdirAll(path, perm)
|
|
}
|
|
}
|
|
|
|
|
|
-// IsAbs is a platform-specific wrapper for filepath.IsAbs.
|
|
|
|
-func IsAbs(path string) bool {
|
|
|
|
- return filepath.IsAbs(path)
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
// The functions below here are wrappers for the equivalents in the os and ioutils packages.
|
|
// The functions below here are wrappers for the equivalents in the os and ioutils packages.
|
|
// They are passthrough on Unix platforms, and only relevant on Windows.
|
|
// They are passthrough on Unix platforms, and only relevant on Windows.
|
|
|
|
|