Revision: | 1.4 |
Committed: | Fri Nov 12 17:38:27 1999 UTC (25 years, 5 months ago) by williamc |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | V1_2_1b, V1_2_1a, V1_2_3, V1_2_2, V1_2_2_relcand2, V1_2_1, V1_2_0, V1_2_0-cand11, V1_1_7, V1_1_6, V1_2_0-cand10, V1_1_5, V1_2_0-cand9, V1_2_0-cand8, V1_2_0-cand7, V1_2_0-cand6, V1_2_0-cand5, V1_2_0-cand4, V1_2_0-cand3, V1_2_0-cand2, V1_2_0-cand1, V1_1_4, V1_1_3, V1_1_2, V1_1_0_reltag8, V1_1_0_reltag7, V1_1_0_reltag6, V1_1_1, V1_1_0_reltag5, V1_1_0_reltag4, V1_1_0_reltag3, V1_1_0_reltag2, V1_1_0_reltag1, V1_1_0_reltag, V1_0_3-p4, V1_1_0_cand3, V1_1_0_cand2, V1_1_0_cand1, HEAD_SM_071214, forV1_1_0, v103_xml_071106, V1_0_3-p3, V1_0_3-p2, V1_1_0, v110p1, V110p6, V110p5, V110p4, V110p3, before110xmlBRmerge, V110p2, V110p1, V1_0_4p1, V1_0_3-p1, V1_0_3, V1_0_2, V1_0_2_p1, v102p1, V1_0_1, V1_0_0, V1_pre0, SCRAM_V1, SCRAMV1_IMPORT, V0_19_7, V0_19_6, V0_19_6p1, V0_19_5, SFATEST, V0_19_4, V0_19_4_pre3, V0_19_4_pre2, V0_19_4_pre1, V0_19_3, V0_19_2, V0_19_1, V0_19_0, V0_18_5, V0_18_4, V_18_3_TEST, VO_18_3, V0_18_2, V0_18_1, ProtoEnd |
Branch point for: | forBinLess_SCRAM, HEAD_BRANCH_SM_071214, v200branch, v103_with_xml, v103_branch, V1_pre1, SCRAM_V1_BRANCH, V0_19_4_B, HPWbranch |
Changes since 1.3: | +2 -101 lines |
Log Message: | Use base IndexedFile in Utilities |
# | 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) |