MCPcopy
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
38func (r *Remote) String() string {
39 return r.Name
40}
41
42func NewRemote(name string, u string) *Remote {
43 pu, _ := url.Parse(u)

Callers 15

TestParseRemotesFunction · 0.45
TestCommitsHelperProcessFunction · 0.45
Test_parseBranchConfigFunction · 0.45
RunMethod · 0.45
CreateLinkedBranchFunction · 0.45
ListLinkedBranchesFunction · 0.45
FindRepoBranchIDFunction · 0.45
ProjectsV2ItemsForIssueFunction · 0.45
OrganizationProjectsV2Function · 0.45
RepoProjectsV2Function · 0.45
CurrentUserProjectsV2Function · 0.45

Calls

no outgoing calls

Tested by 8

TestParseRemotesFunction · 0.36
TestCommitsHelperProcessFunction · 0.36
Test_parseBranchConfigFunction · 0.36
Test_RepoMilestonesFunction · 0.36
TestNewHTTPClientFunction · 0.36
TestHTTPHeadersFunction · 0.36
stripSpaceFunction · 0.36
sharedCmdsFunction · 0.36