Tentacat v1.2.0 Tentacat.Repositories.Branches

Summary

Functions

find(client \\ %Client{}, owner, repo, branch)

Specs

find(Tentacat.Client.t, binary, binary, binary) :: Tentacat.response

Get Branch

Example

Tentacat.Repositories.Branches.find "elixir-lang", "elixir", "feature"
Tentacat.Repositories.Branches.find client, "elixir-lang", "elixir", "feature"

More info at: https://developer.github.com/v3/repos/#get-branch

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

Specs

list(Tentacat.Client.t, binary, binary) :: Tentacat.response

List Branches

Example

Tentacat.Repositories.Branches.list "elixir-lang", "elixir"
Tentacat.Repositories.Branches.list client, "elixir-lang", "elixir"

More info at: https://developer.github.com/v3/repos/#list-branches