Learn R Programming

adfExplorer (version 2.0.3)

adf_entry_info: Retrieve information from entry headers on virtual ADF devices

Description

Retrieve information from entry (file and directory) headers on virtual ADF devices. Get information like entry name, modification date, file size etc.

Usage

adf_entry_info(x, path, ...)

# S3 method for adf_device adf_entry_info(x, path, ...)

# S3 method for virtual_path adf_entry_info.adf_device(x, path, ...)

# S3 method for character adf_entry_info.adf_device(x, path, ...)

# S3 method for virtual_path adf_entry_info(x, path, ...)

# S3 method for adf_file_con adf_entry_info(x, path, ...)

Value

Returns a list of named lists of entry properties. Elements included in the named list

depend on the type of entry (root, directory or file).

Arguments

x

Either a virtual device or virtual path.

path

A virtual_path() pointing to the targeted entry (file or directory). Should be omitted when x is already a virtual path.

...

Ignored

Author

Pepijn de Vries

Examples

Run this code
## First setup a connection to a virtual device
my_device <- demo_adf()

adf_entry_info(my_device, "DF0:")
adf_entry_info(my_device, "s")
adf_entry_info(my_device, "s/startup-sequence")

close(my_device)

Run the code above in your browser using DataLab