Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ translate
Function
translate
internal/docs/man_test.go:15–17 ·
view source on GitHub ↗
(in string)
Source
from the content-addressed store, hash-verified
13
)
14
15
func
translate(in string) string {
16
return
strings.Replace(in,
"-"
,
"\\-"
, -1)
17
}
18
19
func
TestGenManDoc(t *testing.T) {
20
header := &GenManHeader{
Callers
4
TestGenManDoc
Function · 0.85
TestGenManNoHiddenParents
Function · 0.85
TestGenManAliases
Function · 0.85
TestGenManJSONFields
Function · 0.85
Calls
1
Replace
Method · 0.80
Tested by
no test coverage detected