MCPcopy
hub / github.com/cli/cli / NewDetector

Function NewDetector

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

Source from the content-addressed store, hash-verified

156}
157
158func NewDetector(httpClient *http.Client, host string) Detector {
159 return &detector{
160 httpClient: httpClient,
161 host: host,
162 }
163}
164
165func (d *detector) IssueFeatures() (IssueFeatures, error) {
166 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