Skip to main content

last_committed

Function last_committed 

Source
pub fn last_committed(repo_root: &Path, path: &Path) -> Option<String>
Expand description

The most recent commit time for path as the verbatim %cI string (committer offset preserved), or None when the file is untracked / uncommitted / outside a repo. Mirrors git log -1 --format=%cI -- <path>.