MCPcopy Index your code
hub / github.com/cli/cli / NewStatusGetter

Function NewStatusGetter

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

Source from the content-addressed store, hash-verified

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

Callers 1

statusRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected