Skip to content

Commit 59cdd51

Browse files
lafrikslunny
authored andcommitted
Add new field "Empty" to Repository structure (gogs#56)
* Add new field "Empty" to Repository structure * Fix Empty type to bool * Add Size property to Repository structure
1 parent a391123 commit 59cdd51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gitea/repo.go

+2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ type Repository struct {
2626
Name string `json:"name"`
2727
FullName string `json:"full_name"`
2828
Description string `json:"description"`
29+
Empty bool `json:"empty"`
2930
Private bool `json:"private"`
3031
Fork bool `json:"fork"`
3132
Mirror bool `json:"mirror"`
33+
Size int `json:"size"`
3234
HTMLURL string `json:"html_url"`
3335
SSHURL string `json:"ssh_url"`
3436
CloneURL string `json:"clone_url"`

0 commit comments

Comments
 (0)