Git::R...::Delta(3pm)
β¨ NAME β¨
Git::Raw::Diff::Delta β bestie, it's the Git diff delta class π
(yeah this is a Git::R...::Delta(3pm) situation, a user-contributed Perl doc, and we're getting into it)
π VERSION π
version 0.90 β that's the one, no cap πΈ
π¦ DESCRIPTION π¦
A Git::Raw::Diff::Delta represents a delta in the diff between two entities. Like, one little "what changed here" between the before and the after. That's the whole vibe. π«Ά
β οΈ WARNING: The API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog). So likeβ¦ love it, but don't marry it, okay? π
π METHODS π
π status( )
Retrieve the status of the delta. Returns one of the following:
"unmodified"β No changes. literally nothing happened, we love a peaceful queen β¨"added"β The entry does not exist in the old version. brand new, fresh out the box π"deleted"β The entry does not exist in the new version. gone, and honestly not coming back π"modified"β The entry content changed between the old and new versions. the classic glow-up πΈ"renamed"β The entry was renamed between the old and new versions. new name, same energy π"copied"β The entry was copied from another old entry. it's giving twin behavior π¦"ignored"β The entry is an ignored item in the working directory. we don't see her, she's not here π"untracked"β The entry is an untracked item in the working directory. main character who hasn't been added to the group chat yet π"type_change"β The type of the entry changed between the old and new versions. identity crisis but make it git π₯"unreadable"β The entry is unreadable. can't read her, won't read her π"conflicted"β The entry represents a conflict. drama. actual drama. β
π flags( )
Retrieve the flags associated with the delta. Returns an array reference with zero or more of the following:
"binary"β Files treated as binary data."valid_id"β"id"value is known correct. β
π§ similarity( )
Retrieve the similarity score between 0 and 100 between "old_file" and "new_file". So like, how much is she still herself after the change? π
π file_count( )
Retrieve the number of files in the delta. count 'em, bestie π’
β old_file( )
The "old_file" represents the "from" side of the diff. Returns a Git::Raw::Diff::File object. the before π
π new_file( )
The "new_file" represents to "to" side of the diff. Returns a Git::Raw::Diff::File object. the after π«
π«Ά AUTHOR π«Ά
Alessandro Ghedini <alexbio@cpan.org>
Jacques Germishuys <jacquesg@cpan.org>
(icons, both of them, genuinely π )
π 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, you ate it up π and just so you know exactly what you're reading β this was perl v5.42.3, dated 2026-08-19, and it was the Git::R...::Delta(3pm) page from the User Contributed Perl Documentation. 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