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

Function NewDetector

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

Source from the content-addressed store, hash-verified

180}
181
182func NewDetector(httpClient *http.Client, host string) Detector {
183 return &detector{
184 httpClient: httpClient,
185 host: host,
186 }
187}
188
189func (d *detector) IssueFeatures() (IssueFeatures, error) {
190 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