Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Public Member Functions | List of all members
pip._vendor.distlib.resources.ResourceCache Class Reference
Inheritance diagram for pip._vendor.distlib.resources.ResourceCache:

Public Member Functions

def __init__
 
def is_stale
 
def get
 

Constructor & Destructor Documentation

def pip._vendor.distlib.resources.ResourceCache.__init__ (   self,
  base = None 
)

Member Function Documentation

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:

Copyright 2014 Google Inc. All rights reserved.