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

Function NewDetector

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

Source from the content-addressed store, hash-verified

188}
189
190func NewDetector(httpClient *http.Client, host string) Detector {
191 return &detector{
192 httpClient: httpClient,
193 host: host,
194 }
195}
196
197func (d *detector) IssueFeatures() (IssueFeatures, error) {
198 if !ghauth.IsEnterprise(d.host) {

Callers 7

NewCmdExtensionFunction · 0.92
AuthFlowFunction · 0.92
TestProjectV1SupportFunction · 0.85
TestReleaseFeaturesFunction · 0.85
TestAuthFeaturesFunction · 0.85
TestActionsFeaturesFunction · 0.85

Calls

no outgoing calls

Tested by 5

TestProjectV1SupportFunction · 0.68
TestReleaseFeaturesFunction · 0.68
TestAuthFeaturesFunction · 0.68
TestActionsFeaturesFunction · 0.68