2019-05-11 10:21:34 +00:00
|
|
|
// Copyright 2016 The Gitea Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a MIT-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package structs
|
|
|
|
|
|
|
|
// CreateForkOption options for creating a fork
|
|
|
|
type CreateForkOption struct {
|
|
|
|
// organization name, if forking into an organization
|
|
|
|
Organization *string `json:"organization"`
|
2021-12-24 14:43:00 +00:00
|
|
|
// name of the forked repository
|
|
|
|
Name *string `json:"name"`
|
2019-05-11 10:21:34 +00:00
|
|
|
}
|