Skip to main content

get_last_activity

Function get_last_activity 

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

Get the last activity time for a repository.

Strategy: Checks BOTH commit-based timestamp AND source file mtimes (excluding bloat dirs and .git). Returns max(commit_time, latest_mtime) so uncommitted local edits delay pruning.