OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self) |
def | append (self, binsha, crc, offset) |
def | write (self, pack_sha, write) |
Utility to cache index information, allowing to write all information later in one go to the given stream **Note:** currently only writes v2 indices
def __init__ | ( | self | ) |
def append | ( | self, | |
binsha, | |||
crc, | |||
offset | |||
) |
Append one piece of object information
def write | ( | self, | |
pack_sha, | |||
write | |||
) |
Write the index file using the given write method :param pack_sha: binary sha over the whole pack that we index :return: sha1 binary sha over all index file contents