apt 3.0.3
commandline package manager
clean.h
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
3/* ######################################################################
4
5 Clean - Clean out downloaded directories
6
7 ##################################################################### */
8 /*}}}*/
9#ifndef APTPKG_CLEAN_H
10#define APTPKG_CLEAN_H
11
12
13#include <string>
14
15#include <apt-pkg/macros.h>
16
17class pkgCache;
18
19class APT_PUBLIC pkgArchiveCleaner
20{
22 void * const d;
23
24 protected:
25 virtual void Erase(int const dirfd, char const * const File,
26 std::string const &Pkg,std::string const &Ver,
27 struct stat const &St) = 0;
28
29 public:
30
31 bool Go(std::string Dir,pkgCache &Cache);
32
34 virtual ~pkgArchiveCleaner();
35};
36
37
38#endif
Definition clean.h:20
Definition cacheiterators.h:47