View Source LastCrusader.Micropub.GitHub (Last Crusader v0.11.0)
Posts content to github
Summary
Functions
shortcut for get_file/5
Gets file content from GitHub
shortcut for new_file/6
Creates a commit with the filecontent to GitHub
shortcut for update_file/6
Updates a file on GitHub
Functions
shortcut for get_file/5
Uses Application.get_env/2
for default parameters.
@spec get_file(map(), String.t(), String.t(), String.t(), String.t()) :: {:ko, atom()} | {:ok, any()}
Gets file content from GitHub
shortcut for new_file/6
Uses Application.get_env/2
for default parameters.
@spec new_file(map(), String.t(), String.t(), String.t(), String.t(), String.t()) :: {:ko, atom()} | {:ok, any()}
Creates a commit with the filecontent to GitHub
shortcut for update_file/6
Uses Application.get_env/2
for default parameters.
@spec update_file(map(), String.t(), String.t(), String.t(), String.t(), String.t()) :: {:ko, atom()} | {:ok, any()}
Updates a file on GitHub