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

Public Member Functions

 __init__ (self, base=None)
 
 is_stale (self, resource, path)
 
 get (self, resource)
 
- Public Member Functions inherited from pip._vendor.distlib.util.Cache
 prefix_to_dir (self, prefix)
 
 clear (self)
 

Additional Inherited Members

- Public Attributes inherited from pip._vendor.distlib.util.Cache
 base
 

Constructor & Destructor Documentation

◆ __init__()

pip._vendor.distlib.resources.ResourceCache.__init__ (   self,
  base = None 
)
Initialise an instance.

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

Reimplemented from pip._vendor.distlib.util.Cache.

Member Function Documentation

◆ get()

pip._vendor.distlib.resources.ResourceCache.get (   self,
  resource 
)
Get a resource into the cache,

:param resource: A :class:`Resource` instance.
:return: The pathname of the resource in the cache.

◆ is_stale()

pip._vendor.distlib.resources.ResourceCache.is_stale (   self,
  resource,
  path 
)
Is the cache stale for the given resource?

:param resource: The :class:`Resource` being cached.
:param path: The path of the resource in the cache.
:return: True if the cache is stale.

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