getLockFileName-character-method: Get Name of Lock File

Description Usage Arguments Value Author(s) References See Also Examples

Description

See generic: getLockFileName

Usage

1
2
## S4 method for signature 'character'
getLockFileName(path, lock_suffix)

Arguments

path

character. File path.

lock_suffix

character. Suffix to denote the lock dummy.

Value

character. Lock file name.

Author(s)

Janko Thyson janko.thyson@rappster.de

References

https://github.com/Rappster/filesystr

See Also

getLockFileName

Examples

 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)

rappster/filesystr documentation built on May 26, 2019, 11:17 p.m.