Documentation ¶
Index ¶
- Constants
- Variables
- func Appendfilebeg(file string, line string)
- func CommandExists(cmd string) bool
- func Exec_SH(path string, args ...string) error
- func FileExecutable(path string) error
- func IsExecAll(mode os.FileMode) bool
- func IsExecAny(mode os.FileMode) bool
- func IsExecGroup(mode os.FileMode) bool
- func IsExecOther(mode os.FileMode) bool
- func IsExecOwner(mode os.FileMode) bool
- func OS_EQ(name string) bool
- func OS_NEQ(name string) bool
- func Reload() error
Constants ¶
View Source
const ( OS_Linux = "linux" OS_Windows = "windows" OS_MacOS = "darwin" )
Variables ¶
View Source
var ( ERR_NOT_OWNER = errors.New("File not owned by current user") ERR_NOT_EXEC_CUR_USER = errors.New("File not executable by current user") )
Functions ¶
func Appendfilebeg ¶
func CommandExists ¶
func FileExecutable ¶
func IsExecGroup ¶
func IsExecOther ¶
func IsExecOwner ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.