MCPcopy Create free account
hub / github.com/cli/cli / ExportData

Method ExportData

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

Source from the content-addressed store, hash-verified

1065}
1066
1067func (p ProjectFields) ExportData(_ []string) map[string]any {
1068 fields := make([]map[string]any, len(p.Nodes))
1069 for i := range p.Nodes {
1070 fields[i] = p.Nodes[i].ExportData(nil)
1071 }
1072 return map[string]any{
1073 "fields": fields,
1074 "totalCount": p.TotalCount,
1075 }
1076}
1077
1078// ProjectFields returns a project with fields. If the OwnerType is VIEWER, no login is required.
1079// If limit is 0, the default limit is used.

Callers

nothing calls this directly

Calls 1

ExportDataMethod · 0.65

Tested by

no test coverage detected