Tentacat v0.7.2 Tentacat.Repositories.Forks

Summary

Functions

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

Specs

create(binary, binary, list | map, Tentacat.Client.t) :: Tentacat.response

Creates a new fork of a repository

Example

Tentacat.Repositories.Forks.create "elixir-lang", "elixir", "tinfoil", %{}
Tentacat.Repositories.Forks.create "elixir-lang", "elixir", "tinfoil", %{organization: "tinfoil"}

More info at: https://developer.github.com/v3/repos/forks/#create-a-fork

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

Specs

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

List forks of a repository

Example

Tentacat.Repositories.Forks.list "elixir-lang", "elixir"

More info at: https://developer.github.com/v3/repos/forks/