Add some docs for newly exported functions
Upstream-commit: 8e4b3a33906785c3181151cc46bb323952f6eb2b Component: engine
This commit is contained in:
@@ -1051,6 +1051,8 @@ func quote(word string, buf *bytes.Buffer) {
|
||||
buf.WriteString("'")
|
||||
}
|
||||
|
||||
// Take a list of strings and escape them so they will be handled right
|
||||
// when passed as arguments to an program via a shell
|
||||
func ShellQuoteArguments(args []string) string {
|
||||
var buf bytes.Buffer
|
||||
for i, arg := range args {
|
||||
|
||||
Reference in New Issue
Block a user