OpenQuizz
Une application de gestion des contenus pédagogiques
UninstallPathSet Class Reference

Public Member Functions

def __init__ (self, dist)
 
def add (self, path)
 
def add_pth (self, pth_file, entry)
 
def remove (self, auto_confirm=False, verbose=False)
 
def rollback (self)
 
def commit (self)
 
def from_dist (cls, dist)
 

Data Fields

 paths
 
 pth
 
 dist
 

Detailed Description

A set of file paths to be removed in the uninstallation of a
requirement.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  dist 
)

Member Function Documentation

◆ add()

def add (   self,
  path 
)

◆ add_pth()

def add_pth (   self,
  pth_file,
  entry 
)

◆ commit()

def commit (   self)
Remove temporary save dir: rollback will no longer be possible.

◆ from_dist()

def from_dist (   cls,
  dist 
)

◆ remove()

def remove (   self,
  auto_confirm = False,
  verbose = False 
)
Remove paths in ``self.paths`` with confirmation (unless
``auto_confirm`` is True).

◆ rollback()

def rollback (   self)
Rollback the changes previously made by remove().

Field Documentation

◆ dist

dist

◆ paths

paths

◆ pth

pth

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