GitHubKit icon indicating copy to clipboard operation
GitHubKit copied to clipboard

Add delete overload func and protocol to allow file delete

Open pmmlo opened this issue 4 years ago • 1 comments

  • API current returns a content/file and commit object.
  • Ref: https://docs.github.com/en/rest/reference/repos#delete-a-file

pmmlo avatar Jul 21 '21 05:07 pmmlo

In GitHub API v3, file deletions require a body with the blob sha with a commit message.

pmmlo avatar Jul 21 '21 05:07 pmmlo