2 code examples of PHP GitElephant\Repository extracted from open source projects
public static function clone(string $url, string $to)
{
Repository::createFromRemote($url, $to, self::getBinary());
}
public static function repo($path)
{
return Repository::open($path, self::getBinary());
}