Knp\Bundle\KnpBundlesBundle\Git\RepoManager::hasRepo PHP Method

hasRepo() public method

public hasRepo ( Bundle $repo ) : boolean
$repo Knp\Bundle\KnpBundlesBundle\Entity\Bundle
return boolean
    public function hasRepo(BundleEntity $repo)
    {
        $dir = $this->getRepoDir($repo);
        return is_dir($dir . '/.git');
    }