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

#include <GitPack.h>

Classes

struct  Info
 
struct  Object
 

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, Object *out)
 
static bool load (QString const &packfile, GitPackIdxItem const *item, Object *out)
 
static bool seekPackedObject (QIODevice *file, GitPackIdxItem const *item, Info *out)
 
static void decodeTree (QByteArray *out)
 
static Git::Object::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

◆ load() [1/2]

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

◆ load() [2/2]

bool GitPack::load ( QString const &  packfile,
GitPackIdxItem const *  item,
GitPack::Object 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,
Info out 
)
static
Here is the call graph for this function:

◆ stripHeader()

Git::Object::Type GitPack::stripHeader ( QByteArray *  out)
static

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