Tentacat.Commits

Summary

compare(base, head, owner, repo, client \\ %Tentacat.Client{})

Compare two commits

find(sha, owner, repo, client \\ %Tentacat.Client{})

Get a single commit

list(owner, repo, client \\ %Tentacat.Client{})

List commits on a repository

Functions

compare(base, head, owner, repo, client \\ %Tentacat.Client{})

Specs:

Compare two commits

Example

Tentacat.Commits.compare(base, head, "elixir-lang", "elixir", client)

More info at: https://developer.github.com/v3/repos/commits/#compare-two-commits

find(sha, owner, repo, client \\ %Tentacat.Client{})

Specs:

Get a single commit

Example

Tentacat.Commits.find("6dcb09b", "elixir-lang", "elixir", client)

More info at: http:\developer.github.com/v3/repos/releases/#get-a-single-commit

list(owner, repo, client \\ %Tentacat.Client{})

Specs:

List commits on a repository

Example

Tentacat.Commits.list("elixir-lang", "elixir", client)

More info at: https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository