summaryrefslogtreecommitdiff
path: root/methods/mirror.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-01-08 11:19:32 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2007-01-08 11:19:32 +0100
commitd731f9c574138a9cb31c586a8f1e7d7181a44456 (patch)
tree0fb6decdd115271b40df07843dfce5039aa7a342 /methods/mirror.h
parentef1e6d8822bb34527bba5d2318b5768013efd010 (diff)
* apt-pkg/init.cc:
- added Dir::State::Mirrors * doc/examples/configure-index: - added Acquire::mirror::RefreshInterval * methods/mirror.{cc,h}: - download the mirror file into Dir::State::Mirrors - added RefreshInterval option to not ask for the mirror file too often
Diffstat (limited to 'methods/mirror.h')
-rw-r--r--methods/mirror.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/mirror.h b/methods/mirror.h
index a47b8fbf1..798f5a9b5 100644
--- a/methods/mirror.h
+++ b/methods/mirror.h
@@ -34,6 +34,7 @@ class MirrorMethod : public HttpMethod
protected:
bool GetMirrorFile(string uri);
bool SelectMirror();
+ bool Clean(string dir);
// we need to overwrite those to transform the url back
virtual void Fail(string Why, bool Transient = false);