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

Function NewStatusGetter

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

Source from the content-addressed store, hash-verified

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

Callers 1

statusRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected