| 1 | package Git::Raw::Diff::Hunk; | ||
| 2 | 1 | $Git::Raw::Diff::Hunk::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::Diff::Hunk - Git diff hunk class | ||
| 11 | |||
| 12 | =head1 VERSION | ||
| 13 | |||
| 14 | version 0.90 | ||
| 15 | |||
| 16 | =head1 DESCRIPTION | ||
| 17 | |||
| 18 | A L<Git::Raw::Diff::Hunk> represents a hunk in a patch. | ||
| 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 old_start( ) | ||
| 26 | |||
| 27 | Starting line number in C<"old_file">. | ||
| 28 | |||
| 29 | =head2 old_lines( ) | ||
| 30 | |||
| 31 | Number of lines in C<"old_file">. | ||
| 32 | |||
| 33 | =head2 new_start( ) | ||
| 34 | |||
| 35 | Starting line number in C<"new_file">. | ||
| 36 | |||
| 37 | =head2 new_lines( ) | ||
| 38 | |||
| 39 | Number of lines in C<"new_file">. | ||
| 40 | |||
| 41 | =head2 header( ) | ||
| 42 | |||
| 43 | Header text. | ||
| 44 | |||
| 45 | =head1 AUTHOR | ||
| 46 | |||
| 47 | Alessandro Ghedini <alexbio@cpan.org> | ||
| 48 | |||
| 49 | Jacques Germishuys <jacquesg@cpan.org> | ||
| 50 | |||
| 51 | =head1 LICENSE AND COPYRIGHT | ||
| 52 | |||
| 53 | Copyright 2014 Alessandro Ghedini. | ||
| 54 | |||
| 55 | This program is free software; you can redistribute it and/or modify it | ||
| 56 | under the terms of either: the GNU General Public License as published | ||
| 57 | by the Free Software Foundation; or the Artistic License. | ||
| 58 | |||
| 59 | See http://dev.perl.org/licenses/ for more information. | ||
| 60 | |||
| 61 | =cut | ||
| 62 | |||
| 63 | 1 | 1; # End of Git::Raw::Diff::Hunk | |