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

Struct Repository

api/queries_repo.go:29–135  ·  view source on GitHub ↗

Repository contains information about a GitHub repo

Source from the content-addressed store, hash-verified

27
28// Repository contains information about a GitHub repo
29type Repository struct {
30 ID string
31 Name string
32 NameWithOwner string
33 Owner RepositoryOwner
34 Parent *Repository
35 TemplateRepository *Repository
36 Description string
37 HomepageURL string
38 OpenGraphImageURL string
39 UsesCustomOpenGraphImage bool
40 URL string
41 SSHURL string
42 MirrorURL string
43 SecurityPolicyURL string
44
45 CreatedAt time.Time
46 PushedAt *time.Time
47 UpdatedAt time.Time
48 ArchivedAt *time.Time
49
50 IsBlankIssuesEnabled bool
51 IsSecurityPolicyEnabled bool
52 HasIssuesEnabled bool
53 HasProjectsEnabled bool
54 HasDiscussionsEnabled bool
55 HasWikiEnabled bool
56 MergeCommitAllowed bool
57 SquashMergeAllowed bool
58 RebaseMergeAllowed bool
59 AutoMergeAllowed bool
60
61 ForkCount int
62 StargazerCount int
63 Watchers struct {
64 TotalCount int `json:"totalCount"`
65 }
66 Issues struct {
67 TotalCount int `json:"totalCount"`
68 }
69 PullRequests struct {
70 TotalCount int `json:"totalCount"`
71 }
72
73 CodeOfConduct *CodeOfConduct
74 ContactLinks []ContactLink
75 DefaultBranchRef BranchRef
76 DeleteBranchOnMerge bool
77 DiskUsage int
78 FundingLinks []FundingLink
79 IsArchived bool
80 IsEmpty bool
81 IsFork bool
82 ForkingAllowed bool
83 IsInOrganization bool
84 IsMirror bool
85 IsPrivate bool
86 IsTemplate bool

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected