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

Struct Repository

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected