blib/lib/Git/Raw/Index/Conflict.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/Index.pm ↑ Summary blib/lib/Git/Raw/Index/Entry.pm »
1 package Git::Raw::Index::Conflict;
2 1 $Git::Raw::Index::Conflict::VERSION = '0.90';
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use Git::Raw;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 Git::Raw::Index::Conflict - Git index conflict class
11  
12 =head1 VERSION
13  
14 version 0.90
15  
16 =head1 DESCRIPTION
17  
18 A L<Git::Raw::Index::Conflict> represents a conflict in a Git repository index.
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 METHODS
24  
25 =head2 ours( )
26  
27 Retrieve our side of the conflict. Returns a L<Git::Raw::Index::Entry> object,
28 or C<undef> if not applicable.
29  
30 =head2 ancestor( )
31  
32 Retrieve the ancestor side of the conflict. Returns a L<Git::Raw::Index::Entry>
33 object, or C<undef> if not applicable.
34  
35 =head2 theirs( )
36  
37 Retrieve their side of the conflict. Returns a L<Git::Raw::Index::Entry> object,
38 or C<undef> if not applicable.
39  
40 =head1 AUTHOR
41  
42 Jacques Germishuys <jacquesg@cpan.org>
43  
44 =head1 LICENSE AND COPYRIGHT
45  
46 Copyright 2014 Jacques Germishuys.
47  
48 This program is free software; you can redistribute it and/or modify it
49 under the terms of either: the GNU General Public License as published
50 by the Free Software Foundation; or the Artistic License.
51  
52 See http://dev.perl.org/licenses/ for more information.
53  
54 =cut
55  
56 1 1; # End of Git::Raw::Index::Conflict
« blib/lib/Git/Raw/Index.pm ↑ Summary blib/lib/Git/Raw/Index/Entry.pm »