]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debindexfile.cc
debListParser: Convert another ParseDepends to StringView
[apt.git] / apt-pkg / deb / debindexfile.cc
index 708b40a964e52d65db0fcd5e46d6f84ad5dab6f5..c11efd0aefe690fbf5bfd056e30d3f89fd670291 100644 (file)
@@ -277,6 +277,24 @@ pkgSrcRecords::Parser *debDscFileIndex::CreateSrcParser() const
    if (Exists() == false)
       return NULL;
    return new debDscRecordParser(File, this);
+}
+std::string debDscFileIndex::GetComponent() const
+{
+   return "local-dsc";
+}
+std::string debDscFileIndex::GetArchitecture() const
+{
+   return "source";
+}
+uint8_t debDscFileIndex::GetIndexFlags() const
+{
+   return pkgCache::Flag::LocalSource;
+}
+                                                                       /*}}}*/
+// ControlFile Index - a directory with a debian/control file          /*{{{*/
+std::string debDebianSourceDirIndex::GetComponent() const
+{
+   return "local-control";
 }
                                                                        /*}}}*/