Diff v1.1.0 Diff View Source
Functions for performing diffs.
Link to this section Summary
Functions
Applies with patches with supplied annotation (top and tail) This is used to generate visual diffs, etc Shares the same code as patch
Creates a list of changes from the orginal binary to the changed one. Takes the following options
Applies the patches from a previous diff to the given string. Will return the patched version as a list unless a from_list_fn/1 is supplied. This function will takes the patched list as input and outputs the result
Link to this section Functions
Applies with patches with supplied annotation (top and tail) This is used to generate visual diffs, etc Shares the same code as patch
Creates a list of changes from the orginal binary to the changed one. Takes the following options:
:keep_unchanged- Keeps unchanged binary parts in the returned patchesignore- Takes a regex and ignores matches
Applies the patches from a previous diff to the given string. Will return the patched version as a list unless a from_list_fn/1 is supplied. This function will takes the patched list as input and outputs the result.