Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
pip._vendor.distlib.util.Cache Class Reference
Inheritance diagram for pip._vendor.distlib.util.Cache:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.distlib.util.Cache:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, base)
 
 prefix_to_dir (self, prefix)
 
 clear (self)
 

Public Attributes

 base
 

Detailed Description

A class implementing a cache for resources that need to live in the file system
e.g. shared libraries. This class was moved from resources to here because it
could be used by other modules, e.g. the wheel module.

Constructor & Destructor Documentation

◆ __init__()

pip._vendor.distlib.util.Cache.__init__ (   self,
  base 
)
Initialise an instance.

:param base: The base directory where the cache should be located.

Reimplemented in pip._vendor.distlib.resources.ResourceCache.

Member Function Documentation

◆ clear()

pip._vendor.distlib.util.Cache.clear (   self)
Clear the cache.

◆ prefix_to_dir()

pip._vendor.distlib.util.Cache.prefix_to_dir (   self,
  prefix 
)
Converts a resource prefix to a directory name in the cache.

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