MCPcopy Index your code
hub / github.com/cli/cli / ExportData

Method ExportData

pkg/cmd/project/shared/queries/queries.go:340–349  ·  view source on GitHub ↗
(_ []string)

Source from the content-addressed store, hash-verified

338}
339
340func (p Projects) ExportData(_ []string) map[string]interface{} {
341 v := make([]map[string]interface{}, len(p.Nodes))
342 for i := range p.Nodes {
343 v[i] = p.Nodes[i].ExportData(nil)
344 }
345 return map[string]interface{}{
346 "projects": v,
347 "totalCount": p.TotalCount,
348 }
349}
350
351// ProjectItem is a ProjectV2Item GraphQL object https://docs.github.com/en/graphql/reference/objects#projectv2item.
352type ProjectItem struct {

Callers 1

TestJSONProjectsFunction · 0.95

Calls 1

ExportDataMethod · 0.65

Tested by 1

TestJSONProjectsFunction · 0.76