MCPcopy Create free account
hub / github.com/cli/cli / Translate

Method Translate

context/remote_test.go:98–100  ·  view source on GitHub ↗
(u *url.URL)

Source from the content-addressed store, hash-verified

96type identityTranslator struct{}
97
98func (it identityTranslator) Translate(u *url.URL) *url.URL {
99 return u
100}
101
102func Test_translateRemotes(t *testing.T) {
103 publicURL, _ := url.Parse("https://github.com/monalisa/hello")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected