View Source Tentacat.Repositories.Contents (Tentacat v2.4.0)

Summary

Functions

Gets the contents of a file or directory in a repository.

Functions

Link to this function

content(client \\ %Client{}, owner, repo, path)

View Source

Gets the contents of a file or directory in a repository.

Example

Tentacat.Repositories.Contents.content "elixir-lang", "elixir", "CHANGELOG.md"
Tentacat.Repositories.Contents.content client, "elixir-lang", "elixir", "CHANGELOG.md"

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