Git::Raw::Blame(3pm)

Git::Raw::Blame3pm

Git blame class

Version

version 0.90

Overview

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

Methods

hunk_count( )

Retrieve the number of hunks that exist in the blame structure.

hunks( [$index] )

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

buffer( $buffer )

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.

line( $line_no )

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