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

Function miniRepoExport

api/export_repo.go:44–53  ·  view source on GitHub ↗
(r *Repository)

Source from the content-addressed store, hash-verified

42}
43
44func miniRepoExport(r *Repository) map[string]any {
45 if r == nil {
46 return nil
47 }
48 return map[string]any{
49 "id": r.ID,
50 "name": r.Name,
51 "owner": r.Owner,
52 }
53}

Callers 1

ExportDataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected