Documentation ¶
Index ¶
- func Chdir(t testing.TB, dir string)
- func Chmod(t testing.TB, name string, mode os.FileMode)
- func Create(t testing.TB, name string) *os.File
- func CreateTemp(t testing.TB, dir, pattern string) *os.File
- func Executable(t testing.TB) string
- func FindProcess(t testing.TB, pid int) *os.Process
- func Getgroups(t testing.TB) []int
- func Getwd(t testing.TB) (dir string)
- func Hostname(t testing.TB) (name string)
- func Lstat(t testing.TB, name string) os.FileInfo
- func Mkdir(t testing.TB, name string, perm os.FileMode)
- func MkdirAll(t testing.TB, path string, perm os.FileMode)
- func MkdirTemp(t testing.TB, dir, pattern string) string
- func NewSyscallError(t testing.TB, syscall string, err error)
- func Open(t testing.TB, name string) *os.File
- func OpenFile(t testing.TB, name string, flag int, perm os.FileMode) *os.File
- func Pipe(t testing.TB) (r *os.File, w *os.File)
- func ReadDir(t testing.TB, name string) []os.DirEntry
- func ReadFile(t testing.TB, name string) []byte
- func RemoveAll(t testing.TB, path string)
- func Rename(t testing.TB, oldpath, newpath string)
- func Setenv(t testing.TB, key, value string)
- func StartProcess(t testing.TB, name string, argv []string, attr *os.ProcAttr) *os.Process
- func Stat(t testing.TB, name string) os.FileInfo
- func Unsetenv(t testing.TB, key string)
- func UserCacheDir(t testing.TB) string
- func UserConfigDir(t testing.TB) string
- func UserHomeDir(t testing.TB) string
- func WriteFile(t testing.TB, name string, data []byte, perm os.FileMode)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Executable ¶
func StartProcess ¶
func UserCacheDir ¶
func UserConfigDir ¶
func UserHomeDir ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.