logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Pithub::Repos::Forks - Github v3 Repo Forks API

Author

       Johannes Plunien <plu@cpan.org>

Methods

create
       •   Create a fork for the authenticated user.

               POST /repos/:user/:repo/forks

           Examples:

               my $f = Pithub::Repos::Forks->new;
               my $result = $f->create(
                   user => 'plu',
                   repo => 'Pithub',
               );

               # or fork to an org
               my $result = $f->create(
                   user => 'plu',
                   repo => 'Pithub',
                   org  => 'CPAN-API',
               );

   list
       •   List forks

               GET /repos/:user/:repo/forks

           Examples:

               my $f = Pithub::Repos::Forks->new;
               my $result = $f->list(
                   user => 'plu',
                   repo => 'Pithub',
               );

Name

       Pithub::Repos::Forks - Github v3 Repo Forks API

Version

       version 0.01043

See Also