Tentacat v0.7.2 Tentacat.Git.Blobs
Summary
Functions
Specs
create(binary, binary, map | list, Tentacat.Client.t) :: Tentacat.response
Create a blob in the repository
Blob body example:
%{
"content" => "Content of the blob",
"encoding" => "utf-8"
}
Example
Tentacat.Commits.Blobs.create "elixir-lang", "elixir", blob_body
More info at: https://developer.github.com/v3/git/blobs/#create-a-blob
Specs
get(binary, binary, binary, Tentacat.Client.t) :: Tentacat.response
Get the Blob content and metadata for a specific sha
Example
Tentacat.Git.Blobs.get "elixir-lang", "elixir", "7491bda5196f78536e5acc9b7c90a97170e4db0a"
More info at: https://developer.github.com/v3/git/blobs/#get-a-blob