file selector

file selector

Factory

The $create() factory method instantiates a Selector given the 3 fields described below.

Fields

  • base_dir: The directory in which to select files. If the path exists but doesn't point to a directory, this should be an error.

  • allow_non_existent: The behavior if base_dir doesn't exist in the filesystem. If FALSE, an error is returned. If TRUE, an empty selection is returned

  • recursive: Whether to recurse into subdirectories.

Super class

arrow::Object -> Selector

Methods

Public methods

Inherited methods

Method clone()

The objects of this class are cloneable with this method.

Usage

Selector$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.