|
__init__(self,
directory=None)
|
|
__ensure_directory(self,
directory,
remove_old)
|
|
__check_directory(self)
|
|
__URL_mapping(self,
URL)
Function to convert an URL to a local name in the cache
|
|
__save_catalog(self)
Save the on disk catalog in XML format
|
|
__update_catalog(self,
URL,
timestamp=None)
Update the catalog of resources in the cache with an updated
entry
|
|
__catalog_lookup(self,
URL)
lookup an entry in the catalog, it will return a tuple of the file
path and the timestamp if found, None otherwise.
|
|
get_resource(self,
URL)
Get a resource from the cache.
|