MCPcopy Index your code
hub / github.com/github/github-mcp-server / outputJSON

Function outputJSON

cmd/github-mcp-server/list_scopes.go:216–220  ·  view source on GitHub ↗
(output ScopesOutput)

Source from the content-addressed store, hash-verified

214}
215
216func outputJSON(output ScopesOutput) error {
217 encoder := json.NewEncoder(os.Stdout)
218 encoder.SetIndent("", " ")
219 return encoder.Encode(output)
220}
221
222func outputSummary(output ScopesOutput) error {
223 if len(output.UniqueScopes) == 0 {

Callers 1

runListScopesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected