FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add basic documentation for fork.list() · python-gitlab/python-gitlab@effa504 · GitHub

Repository navigation

Commit effa504

Browse files
committed
Add basic documentation for fork.list()
1 parent f4ee128 commit effa504

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎docs/gl_objects/projects.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ Fork a project::
9595
# fork to a specific namespace
9696
fork = project.forks.create({'namespace': 'myteam'})
9797

98+
Get a list of forks for the project::
99+
100+
forks = project.forks.list()
101+
98102
Create/delete a fork relation between projects (requires admin permissions)::
99103

100104
project.create_fork_relation(source_project.id)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL