github v0.11.0 Github.Repos.Commits View Source

Repositories Commits.

Link to this section Summary

Link to this section Functions

Link to this function find!(github_client, options) View Source

Get a single commit

Example

iex> client = %Github.Client{access_token: "access_token"}

iex> client |> Github.Repos.Commits.find!(
  repo_path: "workflowci/github",
  sha: "28e85be9a17c94056fde437c11a60069dfc41924"
)
%Github.Client.Response{
  body: %{"sha" => "28e85be9a17c94056fde437c11a60069dfc41924", ...},
  status: 200,
  ...
}