DOKK / manpages / debian 12 / libgit-raw-perl / Git::Raw::Blame::Hunk.3pm.en
Git::Raw::Blame::Hunk(3pm) User Contributed Perl Documentation Git::Raw::Blame::Hunk(3pm)

Git::Raw::Blame::Hunk - Git blame hunk class

version 0.90

A Git::Raw::Blame::Hunk represents a hunk in the blame information of a file.

WARNING: The API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog).

Retrieve the number of lines in the hunk.

Retrieve the id of the commit where this line was last changed as a string.

Retrieve the 1-based line number where this hunk begins in the final version of the file.

Retrieve the id of the commit where this hunk was found. This will usually be the same as "final_commit_id".

Retrieve the 1-based line number where this hunk begins in the file named by "orig_path" in the commit specified by "orig_commit_id".

Retrieve the path to the file where this hunk originated.

If the hunk has been tracked to a boundary commit.

Alessandro Ghedini <alexbio@cpan.org>

Jacques Germishuys <jacquesg@cpan.org>

Copyright 2014 Alessandro Ghedini.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

2022-10-29 perl v5.36.0