pub fn get_last_commit_time(repo_path: &Path) -> Result<Option<SystemTime>>Expand description
Get the timestamp of the most recent commit in a repository.
Returns None if the repo has no commits — git log on an unborn HEAD exits
non-zero, so no separate git rev-parse HEAD probe is needed to find that out.