Git::R...::Hunk(3pm)
π NAME
Git::Raw::Diff::Hunk β bestie, it's the Git diff hunk class. That's the whole vibe. (This page shows up in your manual as Git::R...::Hunk(3pm), no cap, the name's just long and got squished. π)
β¨ VERSION
version 0.90
πΈ DESCRIPTION
So like, a Git::Raw::Diff::Hunk is literally one hunk inside a patch. You know when you git diff and it shows you that little chunk with the @@ markers and some context lines around it? Yeah. That. One of those. She's the main character of one single chunk of change. π
WARNING: the API of this module is unstable and may change without warning. Like, she's still figuring herself out. π Any change will be appropriately documented in the changelog though, so it's giving responsible queen. Don't come for me if it shifts under you.
π METHODS
old_start( )
The starting line number in old_file. Where the drama begins, basically. β
old_lines( )
How many lines live in old_file. Count 'em. π§
new_start( )
The starting line number in new_file. Glow-up location. β¨
new_lines( )
Number of lines in new_file. The whole roster, fr fr. π
header( )
The header text. Iconic little summary line, obsessed. π¦
π AUTHOR
- Alessandro Ghedini <alexbio@cpan.org>
- Jacques Germishuys <jacquesg@cpan.org>
Two legends, one module. Respect. π«Ά
π 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.
okay that's the whole page bestie, slay πβ¨ This was Git::R...::Hunk(3pm) from perl v5.42.3, dated 2026-08-19, and it ate. Periodt. ππΈ
π¦ where this page comes from
- ubuntu stonking: libgit-raw-perl 0.90+ds-3build3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms