summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefile.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-08-22 23:10:15 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-08-22 23:10:15 +0200
commit8de79b68a834a6cc7abb8976e96ed19374fc02a2 (patch)
treeaead647a6dcafc84404073459e15d5fd603b3c6a /apt-pkg/cachefile.h
parent95b5f6c19d361745c4e11b214f0f07ad10c9b5b3 (diff)
remove the caches in 'apt-get update', too, as they will be
invalid in most cases anyway
Diffstat (limited to 'apt-pkg/cachefile.h')
-rw-r--r--apt-pkg/cachefile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/cachefile.h b/apt-pkg/cachefile.h
index 09d3ec267..b4f41c6f4 100644
--- a/apt-pkg/cachefile.h
+++ b/apt-pkg/cachefile.h
@@ -57,6 +57,7 @@ class pkgCacheFile
bool Open(OpProgress *Progress = NULL, bool WithLock = true);
inline bool ReadOnlyOpen(OpProgress *Progress = NULL) { return Open(Progress, false); };
__deprecated bool Open(OpProgress &Progress,bool const &WithLock = true) { return Open(&Progress, WithLock); };
+ static void RemoveCaches();
void Close();
inline pkgCache* GetPkgCache() { BuildCaches(NULL, false); return Cache; };