Skip to main content

check_git_repository

Function check_git_repository 

Source
pub fn check_git_repository() -> Result<()>
Expand description

Validates that the current directory is in a valid git repository.

This is a lightweight check that opens the repository without loading any commit data.