| Server IP : 216.92.14.13 / Your IP : 216.73.217.126 Web Server : Apache System : Linux vps4089.pairvps.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : rmlac2fmr ( 1040637) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/include/apt-pkg/ |
Upload File : |
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
/* ######################################################################
Clean - Clean out downloaded directories
##################################################################### */
/*}}}*/
#ifndef APTPKG_CLEAN_H
#define APTPKG_CLEAN_H
#include <string>
#include <apt-pkg/macros.h>
class pkgCache;
class APT_PUBLIC pkgArchiveCleaner
{
/** \brief dpointer placeholder (for later in case we need it) */
void * const d;
protected:
virtual void Erase(int const dirfd, char const * const File,
std::string const &Pkg,std::string const &Ver,
struct stat const &St) = 0;
public:
bool Go(std::string Dir,pkgCache &Cache);
pkgArchiveCleaner();
virtual ~pkgArchiveCleaner();
};
#endif