Skip to main content

get_mtime_activity

Function get_mtime_activity 

Source
pub fn get_mtime_activity(repo_path: &Path) -> Result<Option<SystemTime>>
Expand description

Scan all source files in a repo and return the latest mtime.

Used as a fallback for empty repos (no commits). Excludes bloat directories, the .git folder itself, and every file dev-prune writes into a repository — see [EXCLUDED_FILES].