Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
pip.req.UninstallPathSet Class Reference
Inheritance diagram for pip.req.UninstallPathSet:
_object

Public Member Functions

def __init__
 
def add
 
def add_pth
 
def compact
 
def remove
 
def rollback
 
def commit
 

Public Attributes

 paths
 
 pth
 
 dist
 
 save_dir
 

Private Member Functions

def _permitted
 
def _can_uninstall
 
def _stash
 

Private Attributes

 _refuse
 
 _moved_paths
 

Detailed Description

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

Constructor & Destructor Documentation

def pip.req.UninstallPathSet.__init__ (   self,
  dist 
)

Member Function Documentation

def pip.req.UninstallPathSet._can_uninstall (   self)
private
def pip.req.UninstallPathSet._permitted (   self,
  path 
)
private
Return True if the given path is one we are permitted to
remove/modify, False otherwise.
def pip.req.UninstallPathSet._stash (   self,
  path 
)
private
def pip.req.UninstallPathSet.add (   self,
  path 
)
def pip.req.UninstallPathSet.add_pth (   self,
  pth_file,
  entry 
)
def pip.req.UninstallPathSet.commit (   self)
Remove temporary save dir: rollback will no longer be possible.
def pip.req.UninstallPathSet.compact (   self,
  paths 
)
Compact a path set to contain the minimal number of paths
necessary to contain all paths in the set. If /a/path/ and
/a/path/to/a/file.txt are both in the set, leave only the
shorter path.
def pip.req.UninstallPathSet.remove (   self,
  auto_confirm = False 
)
Remove paths in ``self.paths`` with confirmation (unless
``auto_confirm`` is True).
def pip.req.UninstallPathSet.rollback (   self)
Rollback the changes previously made by remove().

Member Data Documentation

pip.req.UninstallPathSet._moved_paths
private
pip.req.UninstallPathSet._refuse
private
pip.req.UninstallPathSet.dist
pip.req.UninstallPathSet.paths
pip.req.UninstallPathSet.pth
pip.req.UninstallPathSet.save_dir

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

Copyright 2014 Google Inc. All rights reserved.