adf_entry_info {adfExplorer} | R Documentation |
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 class 'adf_device'
adf_entry_info(x, path, ...)
## S3 method for class 'virtual_path'
adf_entry_info.adf_device(x, path, ...)
## S3 method for class 'character'
adf_entry_info.adf_device(x, path, ...)
## S3 method for class 'virtual_path'
adf_entry_info(x, path, ...)
## S3 method for class 'adf_file_con'
adf_entry_info(x, path, ...)
Arguments
x |
Either a virtual device or virtual path. |
path |
A |
... |
Ignored |
Value
Returns a list
of named list
s of entry properties.
Elements included in the named list
depend on the type of entry (root, directory or file).
Author(s)
Pepijn de Vries
Examples
## First setup a connection to a virtual device
adz_file <- system.file("example.adz", package = "adfExplorer")
my_device <- connect_adf(adz_file)
adf_entry_info(my_device, "DF0:")
adf_entry_info(my_device, "s")
adf_entry_info(my_device, "s/startup-sequence")
close(my_device)
[Package adfExplorer version 2.0.0 Index]