Git::Raw::Blob(3pm) | User Contributed Perl Documentation | Git::Raw::Blob(3pm) |
Git::Raw::Blob - Git blob class
version 0.90
A Git::Raw::Blob represents a Git blob.
WARNING: The API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog).
Create a new blob from the given buffer.
Retrieve the blob corresponding to $id. This function is pretty much the same as "$repo->lookup($id)" except that it only returns blobs. If the blob doesn't exist, this function wil return "undef".
Retrieve the Git::Raw::Repository owning the blob.
Retrieve the raw content of a blob.
Retrieve the size of the raw content of a blob.
Return the raw ID (the SHA-1 hash) of the blob as a string.
Determine if the blob content is most certainly binary or not.
Returns true.
Returns false.
Alessandro Ghedini <alexbio@cpan.org>
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.
2022-10-29 | perl v5.36.0 |