MCPcopy
hub / github.com/cli/cli / defaultHost

Function defaultHost

internal/ghrepo/repo.go:39–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39func defaultHost() string {
40 host, _ := ghauth.DefaultHost()
41 return host
42}
43
44// FromFullName extracts the GitHub repository information from the following
45// formats: "OWNER/REPO", "HOST/OWNER/REPO", and a full URL.

Callers 1

FromFullNameFunction · 0.85

Calls 1

DefaultHostMethod · 0.65

Tested by

no test coverage detected