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

Data Structures

class  RemoteProgress
 
class  CallableRemoteProgress
 
class  Actor
 
class  Stats
 
class  IndexFileSHA1Writer
 
class  LockFile
 
class  BlockingLockFile
 
class  IterableList
 
class  Iterable
 
class  NullHandler
 

Namespaces

 git.util
 

Functions

def unbare_repo (func)
 
def cwd (new_dir)
 
def rmtree (path)
 
def rmfile (path)
 
def stream_copy (source, destination, chunk_size=512 *1024)
 
def join_path (a, *p)
 
def to_native_path_windows (path)
 
def to_native_path_linux (path)
 
def join_path_native (a, *p)
 
def assure_directory_exists (path, is_file=False)
 
def py_where (program, path=None)
 
def cygpath (path)
 See: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx and: https://www.cygwin.com/cygwin-ug-net/using.html#unc-paths. More...
 
def decygpath (path)
 
def is_cygwin_git (git_executable)
 
def get_user_id ()
 
def finalize_process (proc, **kwargs)
 
def expand_path (p, expand_vars=True)
 

Variables

 log
 
 HIDE_WINDOWS_KNOWN_ERRORS
 
 HIDE_WINDOWS_FREEZE_ERRORS
 
 to_native_path