Method: Rugged::Blob#size
- Defined in:
- ext/rugged/rugged_blob.c
permalink #rawsize ⇒ Integer
Return the size in bytes of the blob. This is the real, uncompressed size and the length of blob.content
, not the compressed size.
121 122 123 124 125 126 127 |
# File 'ext/rugged/rugged_blob.c', line 121
static VALUE rb_git_blob_rawsize(VALUE self)
{
git_blob *blob;
TypedData_Get_Struct(self, git_blob, &rugged_object_type, blob);
return INT2FIX(git_blob_rawsize(blob));
}
|