feature: updates API doc
This commit is contained in:
parent
376aa04b3c
commit
d866c6d68b
1 changed files with 5 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ create_repo
|
|||
delete_repo
|
||||
-----------
|
||||
|
||||
.. py:function:: delete_repo(apiuser, repoid, forks=<Optional:''>)
|
||||
.. py:function:: delete_repo(apiuser, repoid, fs_backup=True, forks=<Optional:''>)
|
||||
|
||||
Deletes a repository.
|
||||
|
||||
|
|
@ -158,6 +158,10 @@ delete_repo
|
|||
:type apiuser: AuthUser
|
||||
:param repoid: Set the repository name or repository ID.
|
||||
:type repoid: str or int
|
||||
:param fs_backup: When this parameter is set to True,
|
||||
repo folder will not be deleted from the filesystem,
|
||||
it will be renamed. The default is True.
|
||||
:type fs_backup: bool
|
||||
:param forks: Set to `detach` or `delete` forks from the |repo|.
|
||||
:type forks: Optional(str)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue