Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docker/compose
/ escapeDollarSign
Function
escapeDollarSign
cmd/compose/config.go:563–567 ·
view source on GitHub ↗
(marshal []byte)
Source
from the content-addressed store, hash-verified
561
}
562
563
func
escapeDollarSign(marshal []byte) []byte {
564
dollar := []byte{
'$'
}
565
escDollar := []byte{
'$'
,
'$'
}
566
return
bytes.ReplaceAll(marshal, dollar, escDollar)
567
}
Callers
1
runConfig
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected