MCPcopy
hub / github.com/github/github-mcp-server / stubFeatureFlags

Function stubFeatureFlags

pkg/github/server_test.go:130–134  ·  view source on GitHub ↗
(enabledFlags map[string]bool)

Source from the content-addressed store, hash-verified

128}
129
130func stubFeatureFlags(enabledFlags map[string]bool) FeatureFlags {
131 return FeatureFlags{
132 LockdownMode: enabledFlags["lockdown-mode"],
133 }
134}
135
136func badRequestHandler(msg string) http.HandlerFunc {
137 return func(w http.ResponseWriter, _ *http.Request) {

Callers 14

Test_GetPullRequestFunction · 0.85
Test_GetPullRequestFilesFunction · 0.85
TestGetPullRequestDiffFunction · 0.85
Test_GetIssueFunction · 0.85
Test_GetIssueCommentsFunction · 0.85
Test_GetIssueLabelsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected