Skip to main content

git_last_commit_time

Function git_last_commit_time 

Source
pub fn git_last_commit_time(root: &Path, rel_path: &str) -> Option<i64>
Expand description

Returns the Unix timestamp (seconds) of the most recent commit that touches rel_path.

Walks commits newest-first, diffs each against its parent, and returns the committer timestamp of the first commit that includes rel_path in the changeset.