Skip to content

Commit 66b7d30

Browse files
committed
Exposes in API the Repo entity's Size and Isempty properties
Signed-off-by: Guyzmo <[email protected]>
1 parent 9447dde commit 66b7d30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

repo.go

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ type Repository struct {
2727
Description string `json:"description"`
2828
Private bool `json:"private"`
2929
Fork bool `json:"fork"`
30+
Empty bool `json:"empty"`
31+
Size int `json:"size"`
3032
Mirror bool `json:"mirror"`
3133
HTMLURL string `json:"html_url"`
3234
SSHURL string `json:"ssh_url"`

0 commit comments

Comments
 (0)