Test if an entry (file or directory) exists on a virtual ADF device.
adf_file_exists() is the equivalent of file.exists() on a virtual ADF device.
adf_dir_exists() is the equivalent of dir.exists() on a virtual ADF device.
Usage
adf_file_exists(x, path, ...)
# S3 method for class 'adf_device'
adf_file_exists(x, path, ...)
# S3 method for class 'virtual_path'
adf_file_exists(x, path, ...)
adf_dir_exists(x, path, ...)
# S3 method for class 'adf_device'
adf_dir_exists(x, path, ...)
# S3 method for class 'virtual_path'
adf_dir_exists(x, path, ...)Arguments
- x
Either a virtual device or virtual path.
- path
A
virtual_path()pointing to the targeted entry (file or directory). Should be omitted whenxis already a virtual path.- ...
Ignored