Documentation ¶
Overview ¶
Package os contains some utility functions as well as pointers to os package functions so as to help in unit testing (mocking).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // OsOpenFile is a pointer to os.OpenFile OsOpenFile = os.OpenFile // OsRemove is a pointer to os.RemoveAll OsRemoveAll = os.RemoveAll // OsMkdirAll is a pointer to os.MkdirAll OsMkdirAll = os.MkdirAll // OsEnviron is a pointer to os.Environ OsEnviron = os.Environ )
os package related functions.
View Source
var ExecCommand = exec.Command
ExecCommand a pointer to exec.Command
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.