From 3c360801b3547cba80766403c0ee2835cb81272d Mon Sep 17 00:00:00 2001 From: 赵智超 <1012112796@qq.com> Date: Fri, 25 Sep 2020 13:18:37 +0800 Subject: Add IsTemplate option in create repo ui and api (#12942) Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: Lauris BH --- models/repo.go | 1 + 1 file changed, 1 insertion(+) (limited to 'models') diff --git a/models/repo.go b/models/repo.go index 96b359bca4..46f91fc7df 100644 --- a/models/repo.go +++ b/models/repo.go @@ -1083,6 +1083,7 @@ type CreateRepoOptions struct { DefaultBranch string IsPrivate bool IsMirror bool + IsTemplate bool AutoInit bool Status RepositoryStatus TrustModel TrustModelType -- cgit v1.2.3