cloud_local_ls {cloudfs} | R Documentation |
List Contents of local project folder
Description
Retrieves names, timestamps, and sizes of files and folders inside local project folder.
Usage
cloud_local_ls(
path = "",
root = ".",
recursive = FALSE,
full_names = FALSE,
ignore = TRUE
)
Arguments
path |
(optional) Path, relative to the specified root to list contents
of. By default, when |
root |
Local directory path relative to which all other paths are considered. |
recursive |
(logical) If |
full_names |
(logical) If |
ignore |
Logical flag indicating whether to ignore certain directories.
Currently, if set to |
Value
A tibble containing the names, last modification timestamps, and sizes in bytes of files and folders inside the specified local folder.
Examples
# list only root-level files and folders
cloud_local_ls()
# list all files in all nested folders
cloud_local_ls(recursive = TRUE)
## Not run:
# list contents of "plots/barplots" subfolder (if it exists)
cloud_local_ls("plots/barplots")
## End(Not run)