MCPcopy
hub / github.com/cli/cli / FullName

Function FullName

internal/ghrepo/repo.go:35–37  ·  view source on GitHub ↗

FullName serializes a GitHub repository into an "OWNER/REPO" string

(r Interface)

Source from the content-addressed store, hash-verified

33
34// FullName serializes a GitHub repository into an "OWNER/REPO" string
35func FullName(r Interface) string {
36 return fmt.Sprintf("%s/%s", r.RepoOwner(), r.RepoName())
37}
38
39func defaultHost() string {
40 host, _ := ghauth.DefaultHost()

Callers 15

NetworkReposMethod · 0.92
deleteCachesFunction · 0.92
deleteCacheByIDFunction · 0.92
deleteCacheByKeyFunction · 0.92
listRunFunction · 0.92
GetCachesFunction · 0.92
TestNewCmdViewFunction · 0.92
TestViewRunFunction · 0.92
listRunFunction · 0.92
EntityNameFunction · 0.92
deleteAssetRunFunction · 0.92
deleteRunFunction · 0.92

Calls 2

RepoOwnerMethod · 0.65
RepoNameMethod · 0.65

Tested by 4

TestNewCmdViewFunction · 0.74
TestViewRunFunction · 0.74
TestNewCmdEditFunction · 0.74
Test_extListFunction · 0.74