ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/URL/URLcache.pm
Revision: 1.5
Committed: Fri Jan 14 17:36:43 2011 UTC (14 years, 3 months ago) by muzaffar
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +0 -0 lines
State: FILE REMOVED
Error occurred while calculating annotation data.
Log Message:
merged SCRAM_V2 branch in to head

File Contents

# Content
1 #
2 # URLcache.pm
3 #
4 # Originally Written by Christopher Williams
5 #
6 # Description
7 # -----------
8 # Simple url->file lookup (persistent)
9 #
10 # Interface
11 # ---------
12 # new(cachedir) : A new URLcache object in a given directory
13 # store(url,file) : store a url/file combination
14 # file(url) : return the file for a given url
15 # delete(url) : remove from cache url
16 # clear() : clear cache
17 # filestore() : Return the directory to download files to
18 # filename(url) : return a unique file/dir in cache for the given url
19 # updatenumber(int) : return an integer number changed with each store
20
21 package URL::URLcache;
22 require 5.004;
23 use Utilities::IndexedFileStore;
24 @ISA=qw(Utilities::IndexedFileStore)