line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Git::Raw::Odb::Object; |
2
|
|
|
|
|
|
|
$Git::Raw::Odb::Object::VERSION = '0.87'; |
3
|
35
|
|
|
35
|
|
230
|
use strict; |
|
35
|
|
|
|
|
66
|
|
|
35
|
|
|
|
|
1036
|
|
4
|
35
|
|
|
35
|
|
173
|
use warnings; |
|
35
|
|
|
|
|
74
|
|
|
35
|
|
|
|
|
775
|
|
5
|
|
|
|
|
|
|
|
6
|
35
|
|
|
35
|
|
166
|
use Git::Raw; |
|
35
|
|
|
|
|
60
|
|
|
35
|
|
|
|
|
1161
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
Git::Raw::Odb::Object - Git object database backend class |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 VERSION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
version 0.87 |
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 |