NAME

Pithub::Repos::Forks

VERSION

version 0.01000

METHODS

create

  • Create a fork for the authenicated user.

    POST /repos/:user/:repo/forks

Examples:

$result = $p->repos->forks->create(
    user => 'plu',
    repo => 'Pithub',
);

$result = $p->repos->forks->create(
    user => 'plu',
    repo => 'Pithub',
    org  => 'CPAN-API',
);

list

  • List forks

    GET /repos/:user/:repo/forks

Examples:

$result = $p->repos->forks->list(
    user => 'plu',
    repo => 'Pithub',
);