line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Git::Raw::Odb::Object; |
2
|
|
|
|
|
|
|
$Git::Raw::Odb::Object::VERSION = '0.90'; |
3
|
36
|
|
|
36
|
|
222
|
use strict; |
|
36
|
|
|
|
|
83
|
|
|
36
|
|
|
|
|
940
|
|
4
|
36
|
|
|
36
|
|
165
|
use warnings; |
|
36
|
|
|
|
|
63
|
|
|
36
|
|
|
|
|
763
|
|
5
|
|
|
|
|
|
|
|
6
|
36
|
|
|
36
|
|
157
|
use Git::Raw; |
|
36
|
|
|
|
|
67
|
|
|
36
|
|
|
|
|
1161
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
Git::Raw::Odb::Object - Git object database backend class |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 VERSION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
version 0.90 |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 DESCRIPTION |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
A L represents a git object database object. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
B: The API of this module is unstable and may change without warning |
21
|
|
|
|
|
|
|
(any change will be appropriately documented in the changelog). |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 AUTHOR |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Jacques Germishuys |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 METHODS |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head2 id( ) |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Retrieve the id of the object, as a string. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head2 type( ) |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Get the object type. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head2 size( ) |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Get the object size. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head2 data( ) |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Get the uncompressed, raw data without the leading header. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Copyright 2016 Jacques Germishuys. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
50
|
|
|
|
|
|
|
under the terms of either: the GNU General Public License as published |
51
|
|
|
|
|
|
|
by the Free Software Foundation; or the Artistic License. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
See http://dev.perl.org/licenses/ for more information. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=cut |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
1; # End of Git::Raw::Odb::Object |