diff options
Diffstat (limited to '')
-rw-r--r-- | modules/structs/fork.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/structs/fork.go b/modules/structs/fork.go new file mode 100644 index 0000000..eb7774a --- /dev/null +++ b/modules/structs/fork.go @@ -0,0 +1,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"` +} |