View definition

(*RepositoriesService).CreateFile

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

Description

CreateFile creates a new file in a repository at the given path and returns the commit and file metadata.

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