Description Usage Arguments Details Value Author(s) Examples
Locks a file in exclusive or shared mode.
1 |
path |
Character. The path. |
exclusive |
Logical. The lock type, exclusive or shared. |
The file is created if it doesn't exist.
Returns an object of type FileLock
, which is to be
used for the unlock
call.
Ivan Popivanov
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.