Test file or directory existsence in an amigaDisk object
Tests whether a specific file (or directory) exists in an
amigaDisk
object.
## S4 method for signature 'amigaDisk,character' adf.file.exists(x, file)
x |
An |
file |
A |
This method will look for a file/directory header, based on its name. If such a header exists, it is assumed that the file exists. The file/directory itself is not checked for validity.
Returns a logical
value indicating whether the file exists
or not.
Pepijn de Vries
data(adf.example) ## This file exists: adf.file.exists(adf.example, "df0:mods/mod.intro") ## This file doesn't: adf.file.exists(adf.example, "df0:idontexist")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.