Tool: List files
Arguments
- path
Path to a directory or file for which to get information. The
path
must be in the current working directory. Ifpath
is a directory, we usefs::dir_info()
to list information about files and directories inpath
(usetype
to pick only one or the other). Ifpath
is a file, we show information about that file.- type
File type(s) to return, one of
"any"
or"file"
or"directory"
.- regexp
A regular expression (e.g.
[.]csv$
) passed on togrep()
to filter paths.