diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-01-08 11:19:32 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-01-08 11:19:32 +0100 |
commit | d731f9c574138a9cb31c586a8f1e7d7181a44456 (patch) | |
tree | 0fb6decdd115271b40df07843dfce5039aa7a342 /methods/mirror.h | |
parent | ef1e6d8822bb34527bba5d2318b5768013efd010 (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.h | 1 |
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); |