1App::KGB::Client::Fake(U3s)er Contributed Perl DocumentatAipopn::KGB::Client::Fake(3)
2
3
4

NAME

6       App::KGB::Client::Fake - Fake KGB client
7

SYNOPSIS

9           use App::KGB::Client::Fake;
10           my $client = App::KGB::Client::Fake(
11               # common App::KGB::Client parameters
12               repo_id => 'my-repo',
13               ...
14           );
15           $client->process;
16

DESCRIPTION

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

CONSTRUCTOR

23   new ()
24       Standard constructor. Accepts no arguments.
25

FIELDS

27       None.
28

METHODS

30       describe_commit
31           The first time this method is called, it returns an instance of
32           App::KGB::Commit containing random information.
33
34           All subsequential invocations return undef.
35
36
37
38perl v5.34.0                      2021-07-22         App::KGB::Client::Fake(3)
Impressum