AbstractFileProvider: File providers

Description Methods

Description

File providers

File providers

Methods

Public methods


Method new()

New file provider

Usage
AbstractFileProvider$new(sep = .Platform$file.sep)
Arguments
sep

- platform separator

...

for compatibility

Returns

the provider


Method listFiles()

Usage
AbstractFileProvider$listFiles(directory = ".")
Arguments
directory

- the directory

Returns

a dataframe containing the full path relative to root of this provider (path) and file / directory flag (isDir)


Method listAllFiles()

Usage
AbstractFileProvider$listAllFiles(directory = ".")
Returns

a dataframe containing the full path relative to root of this provider (path) of files and directories and file / directory flag (isDir)


Method relativePath()

Usage
AbstractFileProvider$relativePath(parts)

Method print()

Usage
AbstractFileProvider$print()

Method clone()

The objects of this class are cloneable with this method.

Usage
AbstractFileProvider$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


terminological/uk-covid-datatools documentation built on June 24, 2021, 8:16 p.m.