Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ Translate
Method
Translate
context/remote.go:102–102 ·
view source on GitHub ↗
(*url.URL)
Source
from the content-addressed store, hash-verified
100
101
type
Translator
interface
{
102
Translate(*url.URL) *url.URL
103
}
104
105
func
TranslateRemotes(gitRemotes git.RemoteSet, translator Translator) (remotes Remotes) {
Callers
1
TranslateRemotes
Function · 0.65
Implementers
2
identityTranslator
context/remote_test.go
identityTranslator
pkg/cmd/factory/remote_resolver_test.g
Calls
no outgoing calls
Tested by
no test coverage detected