Description Usage Arguments Author(s) References See Also Examples
Returns the name of the dummy file used for locking a file system ressource.
1 | getLockFileName(path, lock_suffix = "_LOCK", ...)
|
path |
Signature argument. Object containing file path information. |
lock_suffix |
|
... |
Further arguments to be passed to subsequent functions/methods. |
Janko Thyson janko.thyson@rappster.de
https://github.com/Rappster/filesystr
getLockFileName-character-method
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
## Non-existing file system ressource //
path <- file.path(tempdir(), "test.txt")
getLockFileName(path = path)
## Files //
file.create(path)
getLockFileName(path = path)
## Directories //
getLockFileName(path = tempdir())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.