Package 'fastrls'

Title: Fast Recursive Directory Listing
Description: Fast recursive directory listing using Rust crates walkdir <https://github.com/BurntSushi/walkdir> and jwalk <https://github.com/Byron/jwalk>.
Authors: Ben Raymond [aut, cre]
Maintainer: Ben Raymond <[email protected]>
License: MIT + file LICENSE
Version: 0.0.3
Built: 2024-10-24 05:59:13 UTC
Source: https://github.com/AustralianAntarcticDivision/fastrls

Help Index


Recursively list files and directories

Description

Recursively list files and directories

Usage

fastrls(
  dir,
  include_dirs = TRUE,
  include_files = TRUE,
  include_links = TRUE,
  follow_links = TRUE,
  n_threads = 2L
)

Arguments

dir

string: starting directory

include_dirs

logical: if TRUE, include directories in the results

include_files

logical: if TRUE, include files in the results

include_links

logical: if TRUE, include links in the results

follow_links

logical if TRUE, follow symbolic links

n_threads

integer: if > 1, use multiple threads. Might be counter-productive on hardware that can't cope with simultaneous requests (spinning disks?)

Value

A character vector