Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > Version Control Manager > Modules > vcs
set_diff/5
Description
set_diff/5 is an Erlang function exported by "" module.
Generate a patched data/file on ground of DIFF compared with a Repository's node at particular revision or transaction.
References
•Headers
•get_diff/6
Parameters
Name
Type
Repository
atom()
Repository ID.
SourceNode
string()
Full name of repository node.
SourceID
integer() | string()
Repository target specified by Revision ID or by Transaction ID.
DiffFile
string() | binary()
DIFF information provided from external file or from a binary block.
PatchedFile
Optiona. Patched information. Defaults to "" = returns the patched data as a binary block.
Result
Value or Type
{ok, []}
or
{content, binary()}
On success returns OK or a binary block.