Git::R...:Entry(3pm)
π NAME π
ok so this is Git::Raw::Index::Entry β it's the Git index entry class, bestie. that's the whole vibe. π
it lives in the User Contributed Perl Documentation section of the manual, aka 3pm, iykyk.
β¨ VERSION β¨
this is version 0.90, periodt. π
π¦ DESCRIPTION π¦
so a Git::Raw::Index::Entry represents, likeβ¦ an index entry inside a Git repository index. that's it, that's the job. one entry, one little row in the index. iconic behavior honestly. πΈ
β οΈ WARNING, and I need you to hear me on this one: the API of this module is unstable and may change without warning. any change will be appropriately documented in the changelog, but like β no warning, bestie. none. plan accordingly. π
π«Ά METHODS π«Ά
okay so here's the whole roster, no skips, every single one:
id( )β grabs the id of the index entry and hands it back to you as a string. πis_conflict( )β checks whether the entry has a non-zero stage entry. if yes: conflict. drama detected. πmode( )β returns the mode of the index entry. important little detail: it comes back as a number, not a string. don't get got by that one. π₯path( )β returns the path of the index entry. where it lives. its little address. πsize( )β returns the size of the index entry. how big. that's it. πstage( )β returns the stage number for the index entry. πblob( )β retrieves the blob for the the index entry, and returns aGit::Raw::Blobobject. yes, the double "the the" is in the original, we're keeping it, it's part of the lore now. πclone( $path )β clones the entry, but uses$pathas the entry's path instead. β
π WARNING onclone( $path ): use with caution, babe. this is only useful for scenarios where a conflict entry should be added to the index where$pathshould be used. niche, specific, powerful. handle with care.
π AUTHOR π
- Alessandro Ghedini
<alexbio@cpan.org> - Jacques Germishuys
<jacquesg@cpan.org>
absolute legends, both of them. π«Ά
π§ 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. pick your fighter, either one works. π
See http://dev.perl.org/licenses/ for more information.
and that's a wrap on the whole thing, bestie π
perl v5.42.3 came through with this one on 2026-08-19, and the page is Git::Raw::Index::Entry(3pm) β we ate, no crumbs, go forth and index responsibly β¨π
π¦ 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