File Coverage

blib/lib/Git/Raw/Odb/Backend/OnePack.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Git::Raw::Odb::Backend::OnePack;
2             $Git::Raw::Odb::Backend::OnePack::VERSION = '0.87';
3 35     35   226 use strict;
  35         65  
  35         1029  
4 35     35   171 use warnings;
  35         64  
  35         764  
5              
6 35     35   166 use Git::Raw;
  35         67  
  35         1177  
7              
8             =head1 NAME
9              
10             Git::Raw::Odb::Backend::OnePack - Git single-pack object database backend class
11              
12             =head1 VERSION
13              
14             version 0.87
15              
16             =head1 DESCRIPTION
17              
18             A L represents a git single-pack object database
19             backend.
20              
21             B: The API of this module is unstable and may change without warning
22             (any change will be appropriately documented in the changelog).
23              
24             =head1 METHODS
25              
26             =head2 new( $indexfile )
27              
28             Create a backend out of a single packfile. C<$indexfile> is the packfile's
29             index (.idx) file.
30              
31             =head1 AUTHOR
32              
33             Jacques Germishuys
34              
35             =head1 LICENSE AND COPYRIGHT
36              
37             Copyright 2016 Jacques Germishuys.
38              
39             This program is free software; you can redistribute it and/or modify it
40             under the terms of either: the GNU General Public License as published
41             by the Free Software Foundation; or the Artistic License.
42              
43             See http://dev.perl.org/licenses/ for more information.
44              
45             =cut
46              
47             1; # End of Git::Raw::Odb::Backend::OnePack