OpenQuizz
Une application de gestion des contenus pédagogiques
util.py File Reference

Data Structures

class  _RandomAccessBytesIO
 
class  LazyMixin
 
class  LockedFD
 

Namespaces

 gitdb.util
 

Functions

def unpack_from (fmt, data, offset=0)
 
def remove (*args, **kwargs)
 
def byte_ord (b)
 
def make_sha (source=''.encode("ascii"))
 
def allocate_memory (size)
 
def file_contents_ro (fd, stream=False, allow_mmap=True)
 
def file_contents_ro_filepath (filepath, stream=False, allow_mmap=True, flags=0)
 
def sliding_ro_buffer (filepath, flags=0)
 
def to_hex_sha (sha)
 
def to_bin_sha (sha)
 

Variables

 mman
 
 hex_to_bin
 
 bin_to_hex
 
 ENOENT
 
 exists
 
 mkdir
 
 chmod
 
 isdir
 
 isfile
 
 rename
 
 dirname
 
 basename
 
 join
 
 read
 
 write
 
 close
 
 fsync