pub fn get_git_state(root: impl AsRef<Path>) -> Result<GitState>Expand description
Get complete git state for the current repository
This is a convenience function that captures branch, commit, and dirty state in one call, which is more efficient than calling each function separately.