Tentacat v1.6.0 Tentacat.Repositories.Forks View Source
Link to this section Summary
Link to this section Functions
Link to this function
create(client \\ %Client{}, owner, repo, body)
View Source
create(client \\ %Client{}, owner, repo, body)
View Source
create(Tentacat.Client.t(), binary(), binary(), list() | map()) ::
Tentacat.response()
create(Tentacat.Client.t(), binary(), binary(), list() | map()) :: 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
Link to this function
list(client \\ %Client{}, owner, repo)
View Source
list(client \\ %Client{}, owner, repo)
View Source
list(Tentacat.Client.t(), binary(), binary()) :: Tentacat.response()
list(Tentacat.Client.t(), binary(), binary()) :: 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/