isGitInstalled static method

bool isGitInstalled()

Implementation

static bool isGitInstalled() {
  if (_isGitInstalled != null) {
    return _isGitInstalled!;
  } else {
    return _isGitInstalled = which('git').found;
  }
}