Add IsTemplate option in create repo ui and api (#12942)

Signed-off-by: a1012112796 <1012112796@qq.com>

Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
赵智超andLauris BH authored and GitHub committed 2020-09-25 13:18:37 +08:00
1 parent 7a7f56044a
commit 3c360801b3
9 files changed
+20

No files matched your search

+1
View File
@@ -1083,6 +1083,7 @@ type CreateRepoOptions struct {
DefaultBranch string
IsPrivate bool
IsMirror bool
IsTemplate bool
AutoInit bool
Status RepositoryStatus
TrustModel TrustModelType