MCPcopy Index your code
hub / github.com/celer-pkg/celer / shellQuote

Function shellQuote

pkgcache/cache_setup.go:658–660  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

656}
657
658func shellQuote(value string) string {
659 return "'" + strings.ReplaceAll(value, "'", "'\\''") + "'"
660}

Callers 2

TestShellQuoteFunction · 0.85
installChattrCronJobMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestShellQuoteFunction · 0.68