Skip to main content

head_timestamp

Function head_timestamp 

Source
pub fn head_timestamp(repo_path: &Path) -> Result<i64, String>
Expand description

Get the committer timestamp of HEAD in seconds since epoch (equivalent to git log -1 --format=%ct).