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

Function NewDetector

internal/featuredetection/feature_detection.go:159–164  ·  view source on GitHub ↗
(httpClient *http.Client, host string)

Source from the content-addressed store, hash-verified

157}
158
159func NewDetector(httpClient *http.Client, host string) Detector {
160 return &detector{
161 httpClient: httpClient,
162 host: host,
163 }
164}
165
166func (d *detector) IssueFeatures() (IssueFeatures, error) {
167 if !ghauth.IsEnterprise(d.host) {

Callers 5

NewCmdExtensionFunction · 0.92
TestProjectV1SupportFunction · 0.85
TestReleaseFeaturesFunction · 0.85
TestActionsFeaturesFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestProjectV1SupportFunction · 0.68
TestReleaseFeaturesFunction · 0.68
TestActionsFeaturesFunction · 0.68