Documentation ¶ Index ¶ func DirExists(dir string) (bool, error) func EnsureDir(dir string) error func FileExists(dir string) (bool, error) func WriteFile(path string, data []byte) error type Env func (env Env) Expand(s string) string func (env Env) SetCmd(cmd *exec.Cmd) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DirExists ¶ added in v0.2.0 func DirExists(dir string) (bool, error) func EnsureDir ¶ func EnsureDir(dir string) error func FileExists ¶ added in v0.2.0 func FileExists(dir string) (bool, error) func WriteFile ¶ added in v0.2.0 func WriteFile(path string, data []byte) error Types ¶ type Env ¶ added in v0.2.0 type Env map[string]string func (Env) Expand ¶ added in v0.2.0 func (env Env) Expand(s string) string func (Env) SetCmd ¶ added in v0.2.0 func (env Env) SetCmd(cmd *exec.Cmd) Source Files ¶ View all Source files osutil.go Click to show internal directories. Click to hide internal directories.