Documentation
¶
Index ¶
- func BytesToHuman(val float64, precision uint, precisionStart string) (string, string)
- func GetFileName(filename string) string
- func GetProcessByName(name string) (ps.Process, error)
- func HasPrefixMulti(s string, prefixes ...string) bool
- func ReadFileString(path string) (string, error)
- func StartCommand(name string, arg ...string) (*bufio.Reader, error)
- func StringSliceContains(slice []string, s string) bool
- func StripToEnd(s string, sep string) string
- func StripWSLPath()
- func ToHumanTime(seconds uint64) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToHuman ¶
func GetFileName ¶
func GetProcessByName ¶
func HasPrefixMulti ¶
func ReadFileString ¶
func StringSliceContains ¶
func StripToEnd ¶
func StripWSLPath ¶
func StripWSLPath()
StripWSLPath removes all windows paths from the PATH on WSL as it includes many networked windows directories which are very slow to access
func ToHumanTime ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.