---
name: "Git::Raw::Blame::Hunk"
section: "3pm"
platform: "linux"
package: "libgit-raw-perl"
version: "0.90+ds-3+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Git::Raw::Blame::Hunk"
---

# Git::Raw::Blame::Hunk(3pm)

Git blame hunk class

## NAME

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

## VERSION

version 0.90

## DESCRIPTION

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).

## METHODS

### lines\_in\_hunk( )

Retrieve the number of lines in the hunk.

### final\_commit\_id( )

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

### final\_start\_line\_number( )

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

### orig\_commit\_id( )

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

### orig\_start\_line\_number( )

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"`.

### orig\_path( )

Retrieve the path to the file where this hunk originated.

### boundary( )

If the hunk has been tracked to a boundary commit.

## AUTHOR

Alessandro Ghedini \<alexbio@cpan.org\>

Jacques Germishuys \<jacquesg@cpan.org\>

## LICENSE AND COPYRIGHT

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.
