View Source GitHub.Gitignore (GitHub REST API Client v0.0.4)

Provides API endpoints related to gitignore

Link to this section Summary

Functions

Get all gitignore templates

Get a gitignore template

Link to this section Functions

Link to this function

get_all_templates(opts \\ [])

View Source
@spec get_all_templates(keyword()) :: {:ok, [String.t()]} | {:error, GitHub.Error.t()}

Get all gitignore templates

resources

Resources

Link to this function

get_template(name, opts \\ [])

View Source
@spec get_template(
  String.t(),
  keyword()
) :: {:ok, GitHub.Git.IgnoreTemplate.t()} | {:error, GitHub.Error.t()}

Get a gitignore template

resources

Resources