Function is_valid_git_repo
Source pub fn is_valid_git_repo(path: &Path) -> bool
Expand description
Checks if a directory contains a valid Git repository.
§Arguments
path - The directory path to check for Git repository validity
§Return Value
true if the path contains a .git subdirectory
false if the .git subdirectory is missing or the path doesn’t exist