mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-28 08:58:53 +02:00
add last pull mirror sync success timestamp
This commit is contained in:
@@ -121,6 +121,9 @@ type Repository struct {
|
||||
DefaultAllowMaintainerEdit bool `json:"default_allow_maintainer_edit"`
|
||||
AvatarURL string `json:"avatar_url"`
|
||||
Internal bool `json:"internal"`
|
||||
// swagger:strfmt date-time
|
||||
LastPullSyncSuccess time.Time `json:"last_pull_sync_success"`
|
||||
Licenses []string `json:"licenses"`
|
||||
MirrorInterval string `json:"mirror_interval"`
|
||||
// ObjectFormatName of the underlying git repository
|
||||
ObjectFormatName ObjectFormatName `json:"object_format_name"`
|
||||
@@ -128,7 +131,6 @@ type Repository struct {
|
||||
MirrorUpdated time.Time `json:"mirror_updated"`
|
||||
RepoTransfer *RepoTransfer `json:"repo_transfer,omitempty"`
|
||||
Topics []string `json:"topics"`
|
||||
Licenses []string `json:"licenses"`
|
||||
}
|
||||
|
||||
// CreateRepoOption options when creating repository
|
||||
|
||||
Reference in New Issue
Block a user