mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-01 15:19:09 +01: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 <realaravinth@batsense.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: zeripath <art27@cantab.net>
13 lines
422 B
Go
13 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"`
|
|
}
|