Skip to contents

This method checks if there is a DOS file structure is present on the amigaDisk object.

Usage

# S4 method for amigaDisk
is.amigaDOS(x)

Arguments

x

An amigaDisk object for which the check should be performed.

Value

Returns a logical value, indicating whether the disk is DOS formatted. When it is not, the attributes to the returned value will contain information as to why the disk is not DOS compatible.

Details

Not all Amiga Disk Files have a DOS file structure on them. This function checks if there is.

Author

Pepijn de Vries

Examples

data(adf.example)

## let's check if the example amigaDisk object
## is DOS formatted:

is.amigaDOS(adf.example)
#> [1] TRUE

## it apparently is