ex_audit v0.2.0 ExAudit.Diff View Source
Link to this section Summary
Functions
Creates a patch that can be used to go from a to b with the ExAudit.Patch.patch function
Reverts a patch so that it can undo a change
Link to this section Types
Link to this type
changes()
View Source
changes() :: addition() | removal() | change() | list_addition() | list_removal() | list_change() | no_change() | primitive_change() | %{any: changes()} | [changes()]
Link to this type
list_addition()
View Source
list_addition() :: {:added_to_list, index :: integer(), term()}
Link to this type
list_change()
View Source
list_change() :: {:changed_in_list, index :: integer(), changes()}
Link to this type
list_removal()
View Source
list_removal() :: {:removed_from_list, index :: integer(), term()}
Link to this type
primitive_change()
View Source
primitive_change() :: {:primitive_change, removed :: term(), added :: term()}
Link to this section Functions
Creates a patch that can be used to go from a to b with the ExAudit.Patch.patch function
Reverts a patch so that it can undo a change