collect_git_info

Function collect_git_info 

Source
pub async fn collect_git_info(cwd: &Path) -> Option<GitInfo>
Expand description

Collect git repository information from the given working directory using command-line git. Returns None if no git repository is found or if git operations fail. Uses timeouts to prevent freezing on large repositories. All git commands (except the initial repo check) run in parallel for better performance.