DuckDuck v1.1.0 DuckDuck.UploadCommand View Source

A command to upload a tarball to GitHub.

Includes such valuable information as

  • whether the user has confirmed the command
  • the path to the file to upload
  • the tag to which to upload

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %DuckDuck.UploadCommand{
  accept?: term(),
  api_token: term(),
  id: term(),
  owner: term(),
  path: term(),
  repo: term(),
  tag: term(),
  upload_url: term()
}

Link to this section Functions

Link to this function transform(changeset, params \\ %{}) View Source
Link to this function validate_confirmation(changeset) View Source
validate_confirmation(Ecto.Changeset.t()) :: Ecto.Changeset.t()