Determine a file or directory's modification time. Other than base::file.mtime()
, this function is based on fs::file_info()
and the datetime of
modification is returned in UTC by default.
Value
A datetime.
See also
Other path functions:
draw_path_tree()
,
flatten_path_tree()
Examples
fs::path_package(package = "dplyr",
"DESCRIPTION") |>
pal::path_mod_time()
#> [1] "2023-11-22 23:27:48 UTC"