edeliver_fork v1.4.5 Edeliver.Relup.DefaultModification
This module provides default modifications of the relup instructions.
It is used unless a Edeliver.Relup.Modification
module is found with a higher priority (and which is also
usable) or another module is passed to the --relup-mod=
command line option. E.g. for phoenix apps this would be the
default Edeliver.Relup.PhoenixModification
.
This module uses the Edeliver.Relup.Instructions.SoftPurge
instruction to replace :brutal_purge
code loading options
with :soft_purge
.
Summary
Functions
Returns the priority Edeliver.Relup.Modification.priority_default/0
Returns true if this relup modification is usable for the project or not
Functions
Specs
priority :: non_neg_integer
Returns the priority Edeliver.Relup.Modification.priority_default/0
.
Unless the module is set by the RELUP_MODIFICATION_MODULE
env or
the --relup-mod=
command line option the module with the highest priority
is used (which is also usable).
Specs
usable?(Edeliver.Relup.Config.t) :: boolean
Returns true if this relup modification is usable for the project or not.
E.g. the Edeliver.Relup.PhoenixModifcation
returns true only if the
project is a phoenix project. This function returns true
by default
can be overridden in a custom Edeliver.Relup.Modification
behaviour
implementation.