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

App::KGB::Client::Fake - Fake KGB client

Constructor

new()
       Standard constructor. Accepts no arguments.

Description

App::KGB::Client::Fake generates a fake commit. It is useful when testing client-server communication
       separately from SCM setup. See kgb-client(1)'s "--fake" option.

Fields

       None.

Methods

       describe_commit
           The  first  time  this method is called, it returns an instance of App::KGB::Commit containing random
           information.

           All subsequential invocations return undef.

perl v5.40.0                                       2024-09-20                        App::KGB::Client::Fake(3pm)

Name

       App::KGB::Client::Fake - Fake KGB client

Synopsis

           use App::KGB::Client::Fake;
           my $client = App::KGB::Client::Fake(
               # common App::KGB::Client parameters
               repo_id => 'my-repo',
               ...
           );
           $client->process;

See Also