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 🫢

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