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

Git::Raw::Blame::Hunk3pm

Git blame hunk class

Version

version 0.90

Overview

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.

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Author

Alessandro Ghedini <[email protected]>

Jacques Germishuys <[email protected]>

From libgit-raw-perl 0.90+ds-3+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.