def pip._vendor.distlib.resources.ResourceCache.__init__ |
( |
|
self, |
|
|
|
base = None |
|
) |
| |
def 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.
def 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:
- orbits/lib/python2.7/site-packages/pip/_vendor/distlib/resources.py
Copyright 2014 Google Inc. All rights reserved.