diff options
Diffstat (limited to 'models/repo.go')
-rw-r--r-- | models/repo.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/models/repo.go b/models/repo.go index f2e3f5b58b..c3f93f3562 100644 --- a/models/repo.go +++ b/models/repo.go @@ -1004,6 +1004,13 @@ type CreateRepoOptions struct { MirrorInterval string } +// ForkRepoOptions contains the fork repository options +type ForkRepoOptions struct { + BaseRepo *Repository + Name string + Description string +} + // GetRepoInitFile returns repository init files func GetRepoInitFile(tp, name string) ([]byte, error) { cleanedName := strings.TrimLeft(path.Clean("/"+name), "/") |