Skip to content
Search
DSL · Filesystem

path

Definition

/**
 * Path supports glob patterns.
 * Examples:
 *  - path('*.csv') - any csv file in current directory
 *  - path('/** / *.csv') - any csv file in any subdirectory (remove empty spaces)
 *  - path('/dir/partition=* /*.parquet') - any parquet file in given partition directory.
 *
 * Glob pattern is also supported by remote filesystems like Azure
 *
 *  - path('azure-blob://directory/*.csv') - any csv file in given directory
 *
 * @param array<string, null|bool|float|int|string|\UnitEnum>|Path\Options $options
 */
path(string $path, Options|array $options) : Path

Contributors

Built in the open.

Join us on GitHub
scroll back to top