Tentacat v1.6.0 Tentacat.Repositories.Contents View Source

Link to this section Summary

Functions

Gets the contents of a file or directory in a repository

Link to this section 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