MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / shellSingleQuote

Function shellSingleQuote

internal/ui/plugins/ansible/plugin.go:2065–2067  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

2063}
2064
2065func shellSingleQuote(s string) string {
2066 return "'" + strings.ReplaceAll(s, "'", `'"'"'`) + "'"
2067}
2068
2069func formatBootstrapUID(uid int) string {
2070 if uid <= 0 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected