git_file_mod_time | R Documentation |
Determine the time a file in a Git repository was last modified.
git_file_mod_time(path, repo = ".")
path |
Path to a file, relative to the Git repository root. |
repo |
Path to a Git repository. |
Note that only committed changes to the file are regarded. The modification is returned in UTC.
A datetime.
Other Git functions:
git_remote_tree_url()
## Not run:
pal::git_file_mod_time(path = "README.md")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.