Revision: | 1.4.2.1 |
Committed: | Fri Aug 4 08:21:25 2000 UTC (24 years, 9 months ago) by williamc |
Content type: | text/plain |
Branch: | HPWbranch |
CVS Tags: | BuildSystemProto1, V0_18_0, V0_18_0model, V0_17_1, V0_18_0alpha, V0_17_0, V0_16_4, V0_16_3, V0_16_2, V0_16_1, V0_16_0, V0_15_1, V0_15_0, V0_15_0beta, V0_14_0 |
Branch point for: | V0_17branch, V0_16branch, V0_15branch |
Changes since 1.4: | +0 -0 lines |
Log Message: | Add to branch |
# | User | Rev | Content |
---|---|---|---|
1 | williamc | 1.1 | # |
2 | # URLcache.pm | ||
3 | # | ||
4 | # Originally Written by Christopher Williams | ||
5 | # | ||
6 | # Description | ||
7 | # ----------- | ||
8 | williamc | 1.2 | # Simple url->file lookup (persistent) |
9 | williamc | 1.1 | # |
10 | # Interface | ||
11 | # --------- | ||
12 | williamc | 1.2 | # new(cachedir) : A new URLcache object in a given directory |
13 | williamc | 1.1 | # store(url,file) : store a url/file combination |
14 | williamc | 1.2 | # file(url) : return the file for a given url |
15 | williamc | 1.1 | # delete(url) : remove from cache url |
16 | # clear() : clear cache | ||
17 | williamc | 1.2 | # filestore() : Return the directory to download files to |
18 | # filename(url) : return a unique file/dir in cache for the given url | ||
19 | williamc | 1.3 | # updatenumber(int) : return an integer number changed with each store |
20 | williamc | 1.1 | |
21 | package URL::URLcache; | ||
22 | require 5.004; | ||
23 | williamc | 1.4 | use Utilities::IndexedFileStore; |
24 | @ISA=qw(Utilities::IndexedFileStore) |