View definition

(*RepositoriesService).GetCommitSHA1

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

Description

GetCommitSHA1 gets the SHA-1 of a commit reference. If a last-known SHA1 is supplied and no new commits have occurred, a 304 Unmodified response is returned.

GitHub API docs: https://developer.github.com/v3/repos/commits/#get-the-sha-1-of-a-commit-reference

GetCommitSHA1 is referenced in 1 repository

github.com/google/go-github