1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-01 17:38:33 +00:00

modules/structs/mirror

This commit is contained in:
Paul Campbell 2025-05-09 07:06:17 +01:00 committed by Paul Campbell
parent 9de12a3a70
commit efb4a83246

View file

@ -13,6 +13,7 @@ type CreatePushMirrorOption struct {
Interval string `json:"interval"`
SyncOnCommit bool `json:"sync_on_commit"`
UseSSH bool `json:"use_ssh"`
BranchFilter string `json:"branch_filter"`
}
// PushMirror represents information of a push mirror
@ -29,4 +30,6 @@ type PushMirror struct {
Interval string `json:"interval"`
SyncOnCommit bool `json:"sync_on_commit"`
PublicKey string `json:"public_key"`
BranchFilter string `json:"branch_filter"`
}