...

Package ostest

import "github.com/maxbrunsfeld/counterfeiter/fixtures/packagegen/apackage"
Overview
Index

Overview ▾

func Chtimes

func Chtimes(name string, atime time.Time, mtime time.Time) error

func Clearenv

func Clearenv()

func Environ

func Environ() []string

func Exit

func Exit(code int)

func Expand

func Expand(s string, mapping func(string) string) string

func Fictional

func Fictional(lol ...string)

func FindProcess

func FindProcess(pid int) (*os.Process, error)

func Hostname

func Hostname() (name string, err error)

func MkdirAll

func MkdirAll(path string, perm os.FileMode) error