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

Function preferredPrimaryRowKey

pkg/github/csv_output.go:325–332  ·  view source on GitHub ↗
(value map[string]any)

Source from the content-addressed store, hash-verified

323}
324
325func preferredPrimaryRowKey(value map[string]any) (string, bool) {
326 for _, key := range primaryCSVRowKeys {
327 if _, ok := value[key].([]any); ok {
328 return key, true
329 }
330 }
331 return "", false
332}
333
334func singleArrayKey(value map[string]any) (string, bool) {
335 var arrayKey string

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected