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