]>
git.saurik.com Git - apt.git/blob - apt-pkg/metaindex.cc
1 // Include Files /*{{{*/
2 #include <apt-pkg/indexfile.h>
3 #include <apt-pkg/metaindex.h>
11 #if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR >= 13)
12 std::string
metaIndex::LocalFileName() const { return ""; }
14 #include <apt-pkg/debmetaindex.h>
15 std::string
metaIndex::LocalFileName() const
17 debReleaseIndex
const * deb
= dynamic_cast<debReleaseIndex
const*>(this);
19 return deb
->LocalFileName();
25 metaIndex::metaIndex(std::string
const &URI
, std::string
const &Dist
,
26 char const * const Type
)
27 : Indexes(NULL
), Type(Type
), URI(URI
), Dist(Dist
), Trusted(false)
32 metaIndex::~metaIndex()
36 for (std::vector
<pkgIndexFile
*>::iterator I
= (*Indexes
).begin();
37 I
!= (*Indexes
).end(); ++I
)