$repo = $json->repository->full_name;
$path = $mirror . "/" . $repo;
if (is_dir($path) && chdir($path)) {
$repo = $json->repository->full_name;
$path = $mirror . "/" . $repo;
if (is_dir($path) && chdir($path)) {
if ($rv == 0) {
$response->setResponseCode(200);
}
} elseif (mkdir($path, 0755, true) && chdir($path)) {
if ($rv == 0) {
$response->setResponseCode(200);
}
} elseif (mkdir($path, 0755, true) && chdir($path)) {