Manifest.add_step
You're seeing just the function
add_step
, go back to Manifest module for more information.
Specs
add_step(t(), Manifest.Step.t()) :: t()
Adds a Manifest.Step
to the :steps
key of the manifest.
True to Elixir/Erlang practices, it is prepended to the list. The list is reversed the work is actually performed.
Link to this function
add_step(manifest, operation, work, rollback \\ &Step.safe_default_rollback/2, parser \\ &Step.default_parser/1)
View SourceSpecs
add_step( t(), atom(), Manifest.Step.work(), Manifest.Step.rollback(), Manifest.Step.parser() ) :: t()
Combines build_step/4
and add_step/2
into one function.
See add_step/2
for more information on how the steps are added and
Manifest.Step
for more information on what a step consists of.