]> git.saurik.com Git - apt.git/blobdiff - apt-inst/database.cc
* apt-inst/database.{cc,h}, apt-inst/deb/dpkgdb.{cc,h}:
[apt.git] / apt-inst / database.cc
diff --git a/apt-inst/database.cc b/apt-inst/database.cc
deleted file mode 100644 (file)
index da76134..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// -*- mode: cpp; mode: fold -*-
-// Description                                                         /*{{{*/
-// $Id: database.cc,v 1.2 2001/02/20 07:03:16 jgg Exp $
-/* ######################################################################
-
-   Data Base Abstraction
-   
-   ##################################################################### */
-                                                                       /*}}}*/
-// Include Files                                                       /*{{{*/
-#include<config.h>
-
-#include <apt-pkg/database.h>
-#include <apt-pkg/filelist.h>
-#include <apt-pkg/pkgcachegen.h>
-                                                                       /*}}}*/
-
-// DataBase::GetMetaTmp - Get the temp dir                             /*{{{*/
-// ---------------------------------------------------------------------
-/* This re-initializes the meta temporary directory if it hasn't yet 
-   been inited for this cycle. The flag is the emptyness of MetaDir */
-bool pkgDataBase::GetMetaTmp(std::string &Dir)
-{
-   if (MetaDir.empty() == true)
-      if (InitMetaTmp(MetaDir) == false)
-        return false;
-   Dir = MetaDir;
-   return true;
-}
-                                                                       /*}}}*/
-pkgDataBase::~pkgDataBase()
-{
-   delete Cache;
-   delete FList;
-}