Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ String
Method
String
git/objects.go:38–40 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
36
}
37
38
func
(r *Remote) String() string {
39
return
r.Name
40
}
41
42
func
NewRemote(name string, u string) *Remote {
43
pu, _ := url.Parse(u)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected