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

Function derefString

pkg/github/projects.go:145–150  ·  view source on GitHub ↗
(s *githubv4.String)

Source from the content-addressed store, hash-verified

143}
144
145func derefString(s *githubv4.String) string {
146 if s == nil {
147 return ""
148 }
149 return string(*s)
150}
151
152// ProjectsList returns the tool and handler for listing GitHub Projects resources.
153func ProjectsList(t translations.TranslationHelperFunc) inventory.ServerTool {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected