Tentacat.Repositories.Branches

Summary

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

Get Branch

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

List Branches

Functions

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

Specs:

Get Branch

Example

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

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

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

Specs:

List Branches

Example

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

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