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

Struct Repository

pkg/search/result.go:176–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176type Repository struct {
177 CreatedAt time.Time `json:"created_at"`
178 DefaultBranch string `json:"default_branch"`
179 Description string `json:"description"`
180 ForksCount int `json:"forks_count"`
181 FullName string `json:"full_name"`
182 HasDownloads bool `json:"has_downloads"`
183 HasIssues bool `json:"has_issues"`
184 HasPages bool `json:"has_pages"`
185 HasProjects bool `json:"has_projects"`
186 HasWiki bool `json:"has_wiki"`
187 Homepage string `json:"homepage"`
188 ID string `json:"node_id"`
189 IsArchived bool `json:"archived"`
190 IsDisabled bool `json:"disabled"`
191 IsFork bool `json:"fork"`
192 IsPrivate bool `json:"private"`
193 Language string `json:"language"`
194 License License `json:"license"`
195 MasterBranch string `json:"master_branch"`
196 Name string `json:"name"`
197 OpenIssuesCount int `json:"open_issues_count"`
198 Owner User `json:"owner"`
199 PushedAt time.Time `json:"pushed_at"`
200 Size int `json:"size"`
201 StargazersCount int `json:"stargazers_count"`
202 URL string `json:"html_url"`
203 UpdatedAt time.Time `json:"updated_at"`
204 Visibility string `json:"visibility"`
205 WatchersCount int `json:"watchers_count"`
206}
207
208type License struct {
209 Key string `json:"key"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected