checks.check_git_repo_exists()

Verify that the project directory is under Git version control.

Usage

checks.check_git_repo_exists(directory)

Parameters

directory: Path
Project directory to inspect.

Returns

CheckResult
Passes when a .git directory is present.