GgitBlob

GgitBlob

Synopsis

                    GgitBlob;
struct              GgitBlobClass;
const guchar *      ggit_blob_get_raw_content           (GgitBlob *blob,
                                                         gsize *length);

Object Hierarchy

  GObject
   +----GgitObjectFactoryBase
         +----GgitNative
               +----GgitObject
                     +----GgitBlob

Description

Details

GgitBlob

typedef struct _GgitBlob GgitBlob;

Represents a blob object.


struct GgitBlobClass

struct GgitBlobClass {
};

The class structure for GgitBlobClass.


ggit_blob_get_raw_content ()

const guchar *      ggit_blob_get_raw_content           (GgitBlob *blob,
                                                         gsize *length);

Gets a read-only buffer with the raw contents of blob.

A pointer to the raw contents of blob is returned. This pointer is owned internally by object and must not be free'd. The pointer may be invalidated at a later time.

blob :

a GgitBlob.

length :

return value of the length of the data. [out][allow-none]

Returns :

the blob content or NULL if the blob does not have any content. [array length=length][element-type guchar]