Documentation ¶
Index ¶
- Constants
- func AtoiIfNotEmpty(value string) (int, error)
- func DoesExist(path string) (bool, error)
- func LocateExecutable(callback func(string) bool, root string, isDir bool) (string, error)
- func Printlnf(format string, a ...any) (n int, err error)
- func SelectFirstNotEmpty(values ...string) (string, error)
Constants ¶
View Source
const OS_DIRECTORY = OS_USER_RWX | OS_GROUP_RX | OS_OTHER_RX | os.ModeDir
View Source
const OS_EXECUTABLE = OS_USER_RWX | OS_GROUP_RX | OS_OTHER_RX
View Source
const OS_FILE = OS_USER_RW | OS_GROUP_R | OS_OTHER_R
View Source
const OS_GROUP_R = 0040
View Source
const OS_GROUP_RW = 0060
View Source
const OS_GROUP_RWX = 0070
View Source
const OS_GROUP_RX = 0050
View Source
const OS_GROUP_W = 0020
View Source
const OS_GROUP_X = 0010
View Source
const OS_OTHER_R = 0004
View Source
const OS_OTHER_RW = 0006
View Source
const OS_OTHER_RWX = 0007
View Source
const OS_OTHER_RX = 0005
View Source
const OS_OTHER_W = 0002
View Source
const OS_OTHER_X = 0001
View Source
const OS_USER_R = 0400
View Source
const OS_USER_RW = 0600
View Source
const OS_USER_RWX = 0700
View Source
const OS_USER_RX = 0500
View Source
const OS_USER_W = 0200
View Source
const OS_USER_X = 0100
Variables ¶
This section is empty.
Functions ¶
func AtoiIfNotEmpty ¶
func LocateExecutable ¶
func SelectFirstNotEmpty ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.