2019-05-11 18:21:34 +08:00
|
|
|
// Copyright 2016 The Gitea Authors. All rights reserved.
|
2022-11-28 02:20:29 +08:00
|
|
|
// SPDX-License-Identifier: MIT
|
2019-05-11 18:21:34 +08:00
|
|
|
|
|
|
|
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 22:43:00 +08:00
|
|
|
// name of the forked repository
|
|
|
|
Name *string `json:"name"`
|
2019-05-11 18:21:34 +08:00
|
|
|
}
|