Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
15
TestParseRemotes
Function · 0.45
TestCommitsHelperProcess
Function · 0.45
Test_parseBranchConfig
Function · 0.45
Run
Method · 0.45
CreateLinkedBranch
Function · 0.45
ListLinkedBranches
Function · 0.45
FindRepoBranchID
Function · 0.45
ProjectsV2ItemsForIssue
Function · 0.45
ProjectsV2ItemsForPullRequest
Function · 0.45
OrganizationProjectsV2
Function · 0.45
RepoProjectsV2
Function · 0.45
CurrentUserProjectsV2
Function · 0.45
Calls
no outgoing calls
Tested by
8
TestParseRemotes
Function · 0.36
TestCommitsHelperProcess
Function · 0.36
Test_parseBranchConfig
Function · 0.36
Test_RepoMilestones
Function · 0.36
TestNewHTTPClient
Function · 0.36
TestHTTPHeaders
Function · 0.36
stripSpace
Function · 0.36
sharedCmds
Function · 0.36