]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debindexfile.cc
centralize unlink checks in acquire-item
[apt.git] / apt-pkg / deb / debindexfile.cc
index 32ccd75291fe212503d114e04958a3ef3d5f678a..793882e67a6d6d827e091517c4160fbafba49a5a 100644 (file)
@@ -249,7 +249,14 @@ pkgCache::PkgFileIterator debDebPkgFileIndex::FindInCache(pkgCache &Cache) const
 
    return File;
 }
-
+std::string debDebPkgFileIndex::ArchiveInfo_impl(pkgCache::VerIterator const &Ver) const
+{
+   std::string Res = IndexFileName() + " ";
+   Res.append(Ver.ParentPkg().Name()).append(" ");
+   Res.append(Ver.Arch()).append(" ");
+   Res.append(Ver.VerStr());
+   return Res;
+}
                                                                        /*}}}*/
 // DscFile Index - a single .dsc file as an index                      /*{{{*/
 debDscFileIndex::debDscFileIndex(std::string const &DscFile)