]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - vendor/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/system/filesys.go
provider: Ensured Go 1.11 in TravisCI and README
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / fsouza / go-dockerclient / external / github.com / docker / docker / pkg / system / filesys.go
1 // +build !windows
2
3 package system
4
5 import (
6 "os"
7 "path/filepath"
8 )
9
10 // MkdirAll creates a directory named path along with any necessary parents,
11 // with permission specified by attribute perm for all dir created.
12 func MkdirAll(path string, perm os.FileMode) error {
13 return os.MkdirAll(path, perm)
14 }
15
16 // IsAbs is a platform-specific wrapper for filepath.IsAbs.
17 func IsAbs(path string) bool {
18 return filepath.IsAbs(path)
19 }