View definition

(*RepositoriesService).UpdateFile

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

Description

UpdateFile updates a file in a repository at the given path and returns the commit and file metadata. Requires the blob SHA of the file being updated.

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