Description Usage Arguments Details Value Examples
This function deletes a repository from GitHub, as long as you have appropriate permissions. Care should be taken as it will not be recoverable.
1 | delete_repository(repo, ...)
|
repo |
(string) The repository specified in the format: |
... |
Parameters passed to |
For more details see the GitHub API documentation:
delete_repository()
returns a TRUE if successfully deleted.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# Delete a user's repository
delete_repository("ChadGoymer/user-repository")
# Delete an organization's repository
delete_repository("HairyCoos/org-repository")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.