summaryrefslogtreecommitdiffstats
path: root/modules/structs/fork.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/structs/fork.go')
-rw-r--r--modules/structs/fork.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/structs/fork.go b/modules/structs/fork.go
new file mode 100644
index 00000000..eb7774af
--- /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"`
+}