MCPcopy Create free account
hub / github.com/cli/cli / NewStatusGetter

Function NewStatusGetter

pkg/cmd/status/status.go:191–199  ·  view source on GitHub ↗
(client *http.Client, hostname string, opts *StatusOptions)

Source from the content-addressed store, hash-verified

189}
190
191func NewStatusGetter(client *http.Client, hostname string, opts *StatusOptions) *StatusGetter {
192 return &StatusGetter{
193 Client: client,
194 Org: opts.Org,
195 Exclude: opts.Exclude,
196 cachedClient: opts.CachedClient,
197 host: hostname,
198 }
199}
200
201func (s *StatusGetter) hostname() string {
202 return s.host

Callers 1

statusRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected