blib/lib/Git/Raw/Odb/Object.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Git/Raw/Odb/Backend/Pack.pm ↑ Summary blib/lib/Git/Raw/Patch.pm »
1 package Git::Raw::Odb::Object;
2 87 $Git::Raw::Odb::Object::VERSION = '0.90';
3 87 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 87 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 87 ▶use Git::Raw;
Subroutine BEGIN: called CC=1 SCAR=0.0
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<Git::Raw::Odb::Object> represents a git object database object.
19  
20 B<WARNING>: 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 <jacquesg@cpan.org>
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 87 1; # End of Git::Raw::Odb::Object
« blib/lib/Git/Raw/Odb/Backend/Pack.pm ↑ Summary blib/lib/Git/Raw/Patch.pm »