summaryrefslogtreecommitdiffstats
path: root/modules/structs/fork.go
blob: eb7774afbcb561c72b7284ca9845b26ff4832d59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2016 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT

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"`
}