Git::Raw::Blame(3pm)

✨ Git::Raw::Blame πŸ’…

okay bestie, so this is the manual for Git::Raw::Blame β€” the Git blame class, served fresh out of the User Contributed Perl Documentation section. periodt. πŸŽ€


🌸 VERSION 🌸

version 0.90 β€” yes she's got a number, and yes it's iconic ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

A Git::Raw::Blame represents the blame information for a file. that's literally her whole job and she eats every time πŸ”₯

WARNING: the API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog). so like… she's a little unpredictable and we love that for her, but also don't build your whole personality on her staying the same, iykyk 😭

πŸ‘‘ METHODS πŸ‘‘

hunk_count( )

Retrieve the number of hunks that exist in the blame structure. just a lil count, a lil number, a lil vibe check ⭐

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. so like, all of them, or just the one you pointed at πŸ‘ˆπŸ’–

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. in-memory glow-up fr fr 🧚

line( $line_no )

Retrieve the Git::Raw::Blame::Hunk that relates to the given line number in the newest commit. give her a line number, she gives you the hunk 🫢


πŸ’œ AUTHOR πŸ’œ

  • Alessandro Ghedini <alexbio@cpan.org>
  • Jacques Germishuys <jacquesg@cpan.org>

the icons who made this happen, we stan 🌈


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.


and that's the whole page bestie πŸ’– this was perl v5.42.3, dated 2026-08-19, straight from the Git::Raw::Blame(3pm) manual β€” slay, no cap, go read your blame data responsibly πŸŒŸπŸ¦‹

πŸ“¦ where this page comes from