Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > Version Control Manager > Modules > vcs
lock/4
Description
lock/4 is an Erlang function exported by "" module.
This function locks a particular file node from a repository by preventing in that way other users to change it.
References
•register/3
Parameters
Name
Type
Repository
atom()
Repository ID.
Node
string()
Repository node.
User
Name of the user commenced lock on the selected Node.
Comment
Some accompanying comments.
Result
Value or Type
{ok, []}
On success returns OK.