read_git_version: Read most recent git SHA for the current working directory

View source: R/read_git_version.R

read_git_versionR Documentation

Read most recent git SHA for the current working directory

Description

Read most recent git SHA for the current working directory

Usage

read_git_version()

Details

Returns a list with components 'sha' (the first 6 chars of the most recent git commit SHA) and the date of last update. If the command fails (for example, this is not a git repos), it returns "unknown" for both.


moturoa/shintoshiny documentation built on Dec. 7, 2023, 2:54 a.m.