Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuotedShellArgs ¶
type QuotedShellArgs []string
QuotedShellArgs splits a string into arguments, respecting quoted substrings. Supports single and double quotes and backslash escaping (outside or inside double quotes). Quotes are removed from returned arguments. All unicode whitespace is treated as separator.
func NewQuotedShellArgs ¶
func NewQuotedShellArgs(s string) QuotedShellArgs
func (QuotedShellArgs) String ¶
func (q QuotedShellArgs) String() string
Click to show internal directories.
Click to hide internal directories.