mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
c7151c2fb6
a custom name, intended to be used when there's a name conflict - When a fork request results in a name conflict, HTTP 409: Conflict is returned instead of 500 - API documentation for the above mentioned changes Signed-off-by: realaravinth <[email protected]> Co-authored-by: wxiaoguang <[email protected]> Co-authored-by: zeripath <[email protected]>
14 lines
422 B
Go
14 lines
422 B
Go
// 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"`
|
|
// name of the forked repository
|
|
Name *string `json:"name"`
|
|
}
|