MCPcopy
hub / github.com/mislav/hub / NewClient

Function NewClient

github/client.go:30–32  ·  view source on GitHub ↗
(h string)

Source from the content-addressed store, hash-verified

28var UserAgent = "Hub " + version.Version
29
30func NewClient(h string) *Client {
31 return NewClientWithHost(&Host{Host: h})
32}
33
34func NewClientWithHost(host *Host) *Client {
35 return &Client{Host: host}

Callers 15

listReleasesFunction · 0.92
showReleaseFunction · 0.92
downloadReleaseFunction · 0.92
createReleaseFunction · 0.92
editReleaseFunction · 0.92
deleteReleaseFunction · 0.92
apiCommandFunction · 0.92
listPullsFunction · 0.92
transformApplyArgsFunction · 0.92
createGistFunction · 0.92
showGistFunction · 0.92
getCloneUrlFunction · 0.92

Calls 1

NewClientWithHostFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…