This function retrieves file information for the provided paths, allowing an
optional argument follow_symlinks
to specify whether symbolic links should
be followed when obtaining file information. Similar to Python's
pathlib.Path.stat()
method.
Arguments
- paths
A character vector of file paths.
- ...
Additional arguments to pass to
fs::file_info()
.- follow_symlinks
Logical. If TRUE, follow symbolic links to obtain file information.