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