Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pip._internal.req.req_uninstall.UninstallPathSet Class Reference

Public Member Functions

None __init__ (self, BaseDistribution dist)
 
None add (self, str path)
 
None add_pth (self, str pth_file, str entry)
 
None remove (self, bool auto_confirm=False, bool verbose=False)
 
None rollback (self)
 
None commit (self)
 
"UninstallPathSet" from_dist (cls, BaseDistribution dist)
 

Protected Member Functions

bool _permitted (self, str path)
 
bool _allowed_to_proceed (self, bool verbose)
 

Protected Attributes

 _dist
 
 _moved_paths
 
 _normalize_path_cached
 
 _refuse
 
 _paths
 

Detailed Description

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

Member Function Documentation

◆ _allowed_to_proceed()

bool pip._internal.req.req_uninstall.UninstallPathSet._allowed_to_proceed (   self,
bool  verbose 
)
protected
Display which files would be deleted and prompt for confirmation

◆ _permitted()

bool pip._internal.req.req_uninstall.UninstallPathSet._permitted (   self,
str  path 
)
protected
Return True if the given path is one we are permitted to
remove/modify, False otherwise.

◆ commit()

None pip._internal.req.req_uninstall.UninstallPathSet.commit (   self)
Remove temporary save dir: rollback will no longer be possible.

◆ remove()

None pip._internal.req.req_uninstall.UninstallPathSet.remove (   self,
bool   auto_confirm = False,
bool   verbose = False 
)
Remove paths in ``self._paths`` with confirmation (unless
``auto_confirm`` is True).

◆ rollback()

None pip._internal.req.req_uninstall.UninstallPathSet.rollback (   self)
Rollback the changes previously made by remove().

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