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. πŸ’–

The header text. Iconic little summary line, obsessed. πŸ¦‹


πŸ‘‘ AUTHOR

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

Two legends, one module. 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 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