View source: R/get_info_files.R
get_last_modif | R Documentation |
Get the first and last modification time of files of a directory
get_last_modif(repo = ".", path = "R", recursive = TRUE, untracked = TRUE)
repo |
git repository |
path |
Default to R folder. Use "" for the complete directory |
recursive |
Logical. Should the listing recurse into directories? |
untracked |
Logical. Should the not tracked files be included? |
A list of files with information of each file:
file: file name
in_repository: Logical. Whether the file has already been commit once in the git repository
first_modif: time of first modification. Commit time if in the git repository, system date of creation otherwise.
last_modif: time of last modification. Commit time if in the git repository, system date of last modification otherwise.
repo <- fake_repo() # Complete repository get_last_modif(repo = repo, path = "") repo <- fake_repo(as.package = TRUE) # Complete repository get_last_modif(repo = repo, path = "")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.