MixVersion.Token (mix_version v2.3.2)

View Source

The "token" is the state of the command line execution, passed to and returned from all stages.

Summary

Types

t()

@type t() :: %MixVersion.Token{
  current_vsn: term(),
  git_cmd?: term(),
  git_repo: term(),
  hooks: term(),
  next_vsn: term(),
  opts: term()
}

Functions

new(current_vsn, opts, hooks)

put_current_vsn(token, value)

put_git_cmd?(token, value)

put_git_repo(token, value)

put_hooks(token, value)

put_next_vsn(token, value)

put_opts(token, value)