App::KGB::Client::Fake(3pm)

App::KGB::Client::Fake3pm

Fake kgb client

Usage

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

Overview

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.

Constructor

new ()

Standard constructor. Accepts no arguments.

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.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

From kgb-client 1.61-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.