summaryrefslogtreecommitdiffstats
path: root/modules/structs/fork.go
blob: 21afd636c74adcb00e2ab0b10dce98f9df485328 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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"`
}