Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 04c2783

Browse files
guyzmounknwon
authored andcommitted
Exposes in API the Repo entity's Size and Isempty properties (#64)
* Exposes in API the Repo entity's Size and Isempty properties * Add new field "Empty" to Repository structure * Fix Empty type to bool * Add Size property to Repository structure Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net> * Added Parent property to the repo API Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
1 parent 9447dde commit 04c2783

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎repo.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ type Repository struct {
2727
Description string `json:"description"`
2828
Private bool `json:"private"`
2929
Fork bool `json:"fork"`
30+
Parent *Repository `json:"parent"`
31+
Empty bool `json:"empty"`
32+
Size int `json:"size"`
3033
Mirror bool `json:"mirror"`
3134
HTMLURL string `json:"html_url"`
3235
SSHURL string `json:"ssh_url"`

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /