line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Git::Raw::AnnotatedCommit; |
2
|
|
|
|
|
|
|
$Git::Raw::AnnotatedCommit::VERSION = '0.90'; |
3
|
36
|
|
|
36
|
|
231
|
use strict; |
|
36
|
|
|
|
|
72
|
|
|
36
|
|
|
|
|
979
|
|
4
|
36
|
|
|
36
|
|
163
|
use warnings; |
|
36
|
|
|
|
|
88
|
|
|
36
|
|
|
|
|
1889
|
|
5
|
|
|
|
|
|
|
use overload |
6
|
1
|
|
|
1
|
|
3629
|
'""' => sub { return $_[0] -> id }, |
7
|
36
|
|
|
36
|
|
202
|
fallback => 1; |
|
36
|
|
|
|
|
65
|
|
|
36
|
|
|
|
|
263
|
|
8
|
|
|
|
|
|
|
|
9
|
36
|
|
|
36
|
|
2430
|
use Git::Raw; |
|
36
|
|
|
|
|
81
|
|
|
36
|
|
|
|
|
1374
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Git::Raw::AnnotatedCommit - Git note class |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 VERSION |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
version 0.90 |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 DESCRIPTION |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
A L represents a git annotated commit. |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
B: The API of this module is unstable and may change without warning |
24
|
|
|
|
|
|
|
(any change will be appropriately documented in the changelog). |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 METHODS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head2 id( ) |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Retrieve the id of the commit as a string. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head2 lookup( $repo, $id ) |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Create a L from the given commit C<$id>. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 AUTHOR |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Jacques Germishuys |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Copyright 2016 Jacques Germishuys. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
45
|
|
|
|
|
|
|
under the terms of either: the GNU General Public License as published |
46
|
|
|
|
|
|
|
by the Free Software Foundation; or the Artistic License. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
See http://dev.perl.org/licenses/ for more information. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=cut |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
1; # End of Git::Raw::AnnotatedCommit |