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

Git::Raw::Blame - Git blame class

version 0.90

A Git::Raw::Blame represents the blame information for 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 hunks that exist in the blame structure.

Returns a list of Git::Raw::Blame::Hunk objects. If $index is specified only the hunk at the specified index will be returned.

Retrieve a new Git::Raw::Blame object, created from this reference <Git:Raw::Blame> object and $buffer, a file that has been modified in memory.

Retrieve the Git::Raw::Blame::Hunk that relates to the given line number in the newest 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