1App::KGB::Commit(3)   User Contributed Perl Documentation  App::KGB::Commit(3)
2
3
4

NAME

6       App::KGB::Commit - a single commit
7

SYNOPSIS

9           my $c = App::KGB::Commit->new(
10               {   id      => 4536,
11                   changes => ["(M)/there"],
12                   log     => "fixed /there",
13                   author  => "My Self <mself@here.at>",
14                   branch  => "trunk",
15                   module  => "test",
16               }
17           );
18

DESCRIPTION

20       App::KGB::Change encapsulates a single commit. A commit has several
21       properties: an ID, a list of changes, an author, a log message,
22       optionally also a branch and a module.
23

FIELDS

25       id  The commit ID that uniquely identifies it in the repository (if
26           applicable).
27
28       changes
29           An arrayref of App::KGB::Change instances or other objects that
30           behave as strings.
31
32       author
33       log
34       branch
35       module
36

CONSTRUCTOR

38   new ( { initial field values } )
39       Standard constructor. Accepts a hashref with field values.
40

OVERLOADS

42       stringify
43           Returns a text representation of the commit object
44
45
46
47perl v5.34.0                      2021-07-22               App::KGB::Commit(3)
Impressum