Git::Raw::Blob(3pm)
π Git::Raw::Blob β the perl manual page, bestie edition π
okay so this is Git::Raw::Blob(3pm) from the User Contributed Perl Documentation, and we're gonna get you fully caught up, no cap.
β¨ NAME β¨
Git::Raw::Blob β the Git blob class, and she's iconic π
π VERSION π
version 0.90 β yes, that's the one, keep up bestie πΈ
π¦ DESCRIPTION π¦
A Git::Raw::Blob represents a Git blob. that's it, 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 don't come for me if it shifts β it's literally in the changelog, iykyk π
π METHODS π
π create( $repo, $buffer )
make a brand new blob from the given buffer. spawn her β¨
π lookup( $repo, $id )
grab the blob that corresponds to $id. honestly this function is pretty much the same as $repo->lookup($id) except that it only returns blobs. and if the blob doesn't exist? this function wil return undef. (yes, "wil" β that's the original's typo, we keep our faves exactly as they are π)
π owner( )
retrieve the Git::Raw::Repository owning the blob. find out who her parent is, main character energy fr fr
π content( )
retrieve the raw content of a blob. the actual tea, unfiltered β
β size( )
retrieve the size of the raw content of a blob. how much is she serving? numerically π
π§ id( )
return the raw ID (the SHA-1 hash) of the blob as a string. her government name, periodt π
π₯ is_binary( )
determine if the blob content is most certainly binary or not. note the "most certainly" β that's the original's wording and we respect it π«‘
πΈ is_blob( )
returns true. that's the whole function. returns true. slay π
π¦ is_tree( )
returns false. also the whole function. she said no π«
π AUTHOR π
Alessandro Ghedini <alexbio@cpan.org> β thank you for your service π«Ά
π LICENSE AND COPYRIGHT π
Copyright 2012 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.
and that's the whole page bestie!! πβ¨ this was perl v5.42.3, dated 2026-08-19, brought to you by the Git::Raw::Blob(3pm) girlies π
mwah, go commit something π
π¦ 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