Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
658
func
shellQuote(value string) string {
659
return
"'"
+ strings.ReplaceAll(value,
"'"
,
"'\\''"
) +
"'"
660
}
Callers
2
TestShellQuote
Function · 0.85
installChattrCronJob
Method · 0.85
Calls
no outgoing calls
Tested by
1
TestShellQuote
Function · 0.68