Print a file specification
Usage
# S3 method for class 'file_spec'
print(x, ...)
Arguments
- x
An object of class
file_spec
.- ...
Additional parameters for
print()
(not used).
Examples
fs <- file_spec(
"R/",
pattern = "\\.R$", format = "text",
recursive = FALSE, ignore_case = TRUE, all_files = FALSE
)
fs
#> -- File specification ----------------------------------------------------
#> - Relative path: "R/"
#> - Pattern: "\\.R$"
#> - Format: "text"
#> - Recursive: FALSE
#> - Ignore case: TRUE
#> - All files: FALSE