MCPcopy
hub / github.com/kopia/kopia / quoteArguments

Function quoteArguments

cli/command_policy_set_actions.go:120–128  ·  view source on GitHub ↗
(s ...string)

Source from the content-addressed store, hash-verified

118}
119
120func quoteArguments(s ...string) string {
121 var result []string
122
123 for _, v := range s {
124 result = append(result, fmt.Sprintf("\"%v\"", v))
125 }
126
127 return strings.Join(result, " ")
128}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected