Git::R...::File(3pm)

πŸ’– Git::Raw::Diff::File πŸ’–

okay so bestie, welcome to Git::Raw::Diff::File β€” that's the Perl module from the User Contributed Perl Documentation section of the manual, and honestly? she's giving diff anatomy. let's get into it 🫢


✨ VERSION ✨

version 0.90 β€” yes, zero point nine zero, write it down, periodt πŸ“


🌸 DESCRIPTION 🌸

a Git::Raw::Diff::File represents one side of a diff delta. that's the whole vibe. one side. not both. one. like a single twin in a set of twins, except the twin is a file state πŸ’…

⚠️ 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 bestie, that's part of her charm 😭 but fr fr, don't build your whole life on her without reading the changelog first.

πŸŽ€ METHODS πŸŽ€

🌈 id( )

retrieves the id of the diff file, as a string. a little stringy boi. slay ✨

🌈 path( )

retrieves the path of the diff file. where she lives. her address. iconic 🏑

🌈 size( )

retrieves the size of the diff file. how big she is. no comment πŸ’€

🌈 flags( )

retrieves the flags associated with the delta. returns an array reference with zero or more of the following:

  • "binary" β€” files treated as binary data. not text, not vibes, just raw bytes 🧚
  • "valid_id" β€” the "id" value is known correct. she's verified, she's authenticated, she ate πŸ‘‘

🌈 mode( )

retrieves the diff file mode. returns one of the following:

  • "unreadable" πŸ™ˆ
  • "tree" 🌳
  • "blob" πŸ“
  • "blob_executable" πŸ“βž•βš‘
  • "link" πŸ”—
  • "commit" πŸ’œ

one of these. exactly one. don't come for her with anything else, she will not have it 😀


πŸ‘‘ AUTHOR πŸ‘‘

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

two legends. credit where credit is due. say thank you πŸ’–


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.

so basically: pick your license, both are valid, she's flexible like that πŸ’…


and that's the whole page bestie, no cap 🌈 hope this was a vibe check that passed. this page was brought to you by perl v5.42.3, dated 2026-08-19 β€” catch you in Git::R...::File(3pm) land, mwah πŸŽ€πŸ’–

πŸ“¦ where this page comes from