OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self) |
def | stash (self, path) |
def | commit (self) |
def | rollback (self) |
def | can_rollback (self) |
A set of file rename operations to stash files while tentatively uninstalling them.
def __init__ | ( | self | ) |
def can_rollback | ( | self | ) |
def commit | ( | self | ) |
Commits the uninstall by removing stashed files.
def rollback | ( | self | ) |
Undoes the uninstall by moving stashed files back.
def stash | ( | self, | |
path | |||
) |
Stashes the directory or file and returns its new location. Handle symlinks as files to avoid modifying the symlink targets.