get_date_from_commit_hash: Get datetime from commit hash in a git log

View source: R/interval.R

get_date_from_commit_hashR Documentation

Get datetime from commit hash in a git log

Description

Locates the commit hash in 'git_log' and obtains the timestamp. Assumes 'git_log' contains a 'data.AuthorDateā€œ column.

Usage

get_date_from_commit_hash(git_log, p_commit_hash)

Arguments

git_log

a data.table where the key is commit+file

p_commit_hash

a string character with the commit hash we want to obtain the datetime from commit interval on the form 'commitsha1-commitsha2'

Value

a numeric vector of 'metric_function' values for each commit interval specified in 'dt_range'


sailuh/kaiaulu documentation built on Dec. 10, 2024, 3:14 a.m.