View Source GitHub.Gitignore (GitHub REST API Client v0.2.2)
Provides API endpoints related to gitignore
Link to this section Summary
Link to this section Functions
@spec get_all_templates(keyword()) :: {:ok, [String.t()]} | {:error, GitHub.Error.t()}
Get all gitignore templates
List all templates available to pass as an option when creating a repository.
resources
Resources
@spec get_template( String.t(), keyword() ) :: {:ok, GitHub.Git.IgnoreTemplate.t()} | {:error, GitHub.Error.t()}
Get a gitignore template
The API also allows fetching the source of a single template. Use the raw media type to get the raw contents.