Git::R...e::Hunk(3pm)

πŸ’– Git::Raw::Blame::Hunk β€” the whole vibe πŸ’–

okay bestie, so this is the manual page for Git::Raw::Blame::Hunk, a little Perl module that lives in the Git::Raw family and handles exactly one thing: blame hunks. Yes, we're reading a manpage for fun. Yes, it's giving main character energy. Let's go. πŸ¦‹


✨ VERSION ✨

version 0.90 β€” that's the one we're looking at, no cap.


🌸 DESCRIPTION 🌸

A Git::Raw::Blame::Hunk represents a hunk in the blame information of a file. That's it, that's the whole job. It's a tiny little object whose only purpose in life is to sit there holding blame details and look pretty. πŸ’…

⚠️ WARNING: The API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog). So like… don't get too attached to the exact shape of things, bestie. It could switch up on you. 😭

πŸ‘‘ METHODS πŸ‘‘

Every one of these is a getter, you call it, it hands you a thing. Simple. Iconic.

  • lines_in_hunk( ) β€” gives you back the number of lines in the hunk. Just the count. πŸ“
  • final_commit_id( ) β€” hands you the id of the commit where this line was last changed, as a string. As a string, okay, don't come for me about it. ✨
  • final_start_line_number( ) β€” the 1-based line number where this hunk begins in the final version of the file. One-based, so yes, we're counting like humans, not like C programmers. πŸ™ˆ
  • orig_commit_id( ) β€” the id of the commit where this hunk was found. Note: this will usually be the same as "final_commit_id". Usually. Not always. Keep that in mind, iykyk.
  • orig_start_line_number( ) β€” the 1-based line number where this hunk begins in the file named by "orig_path", in the commit specified by "orig_commit_id". It's a little cross-reference moment, we love a coordinated group chat. 🫢
  • orig_path( ) β€” the path to the file where this hunk originated. Where it came from. Its origin story. 🌈
  • boundary( ) β€” tells you if the hunk has been tracked to a boundary commit. That's the whole description, babes, I'm not gonna invent extra lore for it. πŸ’€

πŸ’œ AUTHOR πŸ’œ

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

Two absolute legends. Respect. πŸ‘‘


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.


okay that's the whole page, you ate it, you read the entire manpage, I'm so proud πŸ₯ΉπŸ’– this was Git::Raw::Blame::Hunk, version 0.90, shipped with perl v5.42.3 and dated 2026-08-19. go forth and blame responsibly, bestie βœ¨πŸ¦‹πŸ’…

πŸ“¦ where this page comes from