View definition

(*RepositoriesService).DeleteFile

Defined in github.com/google/go-github/github/repos_contents.go

Description

DeleteFile deletes a file from a repository and returns the commit. Requires the blob SHA of the file to be deleted.

GitHub API docs: http://developer.github.com/v3/repos/contents/#delete-a-file