Guitar
Static Public Member Functions | Static Private Member Functions | List of all members
GitPack Class Reference

#include <GitPack.h>

Static Public Member Functions

static bool decompress (QIODevice *in, size_t expanded_size, QByteArray *out, size_t *consumed=nullptr, uint32_t *crc=nullptr)
 
static bool load (QIODevice *file, GitPackIdxItem const *item, GitPackObject *out)
 
static bool load (QString const &packfile, GitPackIdxItem const *item, GitPackObject *out)
 
static bool seekPackedObject (QIODevice *file, GitPackIdxItem const *item, GitPackInfo *out)
 
static void decodeTree (QByteArray *out)
 
static GitObject::Type stripHeader (QByteArray *out)
 

Static Private Member Functions

static uint32_t read_uint32_be (const void *p)
 

Member Function Documentation

◆ decodeTree()

void GitPack::decodeTree ( QByteArray *  out)
static

◆ decompress()

bool GitPack::decompress ( QIODevice *  in,
size_t  expanded_size,
QByteArray *  out,
size_t *  consumed = nullptr,
uint32_t *  crc = nullptr 
)
static
Here is the call graph for this function:

◆ load() [1/2]

bool GitPack::load ( QIODevice *  file,
GitPackIdxItem const *  item,
GitPackObject out 
)
static
Here is the call graph for this function:

◆ load() [2/2]

bool GitPack::load ( QString const &  packfile,
GitPackIdxItem const *  item,
GitPackObject out 
)
static
Here is the call graph for this function:

◆ read_uint32_be()

static uint32_t GitPack::read_uint32_be ( const void *  p)
inlinestaticprivate

◆ seekPackedObject()

bool GitPack::seekPackedObject ( QIODevice *  file,
GitPackIdxItem const *  item,
GitPackInfo out 
)
static
Here is the call graph for this function:

◆ stripHeader()

GitObject::Type GitPack::stripHeader ( QByteArray *  out)
static

The documentation for this class was generated from the following files: