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