get_last_modif: Get the first and last modification time of files of a...

Description Usage Arguments Value Examples

View source: R/get_info_files.R

Description

Get the first and last modification time of files of a directory

Usage

1
get_last_modif(repo = ".", path = "R", recursive = TRUE, untracked = TRUE)

Arguments

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?

Value

A list of files with information of each file:

Examples

1
2
3
4
5
6
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 = "")

gitdown documentation built on Jan. 21, 2022, 5:07 p.m.