mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-11 08:04:44 +00:00
Copy a simple implementation from the Moby project, since importing their package would pull in too many dependencies. Fixes #320
11 lines
282 B
Go
11 lines
282 B
Go
// +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)
|
|
}
|