Debian Codegraph @

man/dir_tree.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/tree.R
3 \name{dir_tree}
4 \alias{dir_tree}
5 \title{Print contents of directories in a tree-like format}
6 \usage{
7 dir_tree(path = ".", recurse = TRUE, ...)
8 }
9 \arguments{
10 \item{path}{A path to print the tree from}
11
12 \item{recurse}{If \code{TRUE} recurse fully, if a positive number the number of levels
13 to recurse.}
14
15 \item{...}{
16 Arguments passed on to \code{\link[=dir_ls]{dir_ls}}
17 \describe{
18 \item{\code{type}}{File type(s) to return, one or more of "any", "file", "directory",
19 "symlink", "FIFO", "socket", "character_device" or "block_device".}
20 \item{\code{all}}{If \code{TRUE} hidden files are also returned.}
21 \item{\code{fail}}{Should the call fail (the default) or warn if a file cannot be
22 accessed.}
23 \item{\code{glob}}{A wildcard aka globbing pattern (e.g. \verb{*.csv}) passed on to \code{\link[=grep]{grep()}} to filter paths.}
24 \item{\code{regexp}}{A regular expression (e.g. \verb{[.]csv$}) passed on to \code{\link[=grep]{grep()}} to filter paths.}
25 \item{\code{invert}}{If \code{TRUE} return files which do \emph{not} match}
26 }}
27 }
28 \description{
29 Print contents of directories in a tree-like format
30 }