Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandBashStyleString ¶ added in v0.2.1
ExpandBashStyleString expands variables ($TERM), replacing unknown ones with an empty string, and running any commands wrapped in "$()". If running a command fails, and error is returned instead.
func FormatSize ¶
FormatSize formats a given size into K/M/G/T/P/E
func ReportError ¶
func ReportError(data string)
ReportError is used by Widgets to report internal errors to the syslog
func TextOrCommand ¶
TextOrCommand interprets an input payload in order to determine whether it contains a static string, an command based on a string, or a command based on an array of arguments
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.