Git::Raw::Blob - Git blob class
version 0.53
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.
$id
$repo->lookup($id)
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.
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.
To install Git::Raw, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::Raw
CPAN shell
perl -MCPAN -e shell install Git::Raw
For more information on module installation, please visit the detailed CPAN module installation guide.