summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debrecords.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:53:24 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:53:24 +0000
commit36375005d9e971d2fdfc62224671f009ce7adaf9 (patch)
tree4793d82c73be374f8f7a629237af2d73874fb468 /apt-pkg/deb/debrecords.cc
parent36f610f18a9a12c02ba89c6bb84726f7ed3ba7ad (diff)
working apt-get source
Author: jgg Date: 1999-04-07 05:30:17 GMT working apt-get source
Diffstat (limited to 'apt-pkg/deb/debrecords.cc')
-rw-r--r--apt-pkg/deb/debrecords.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/apt-pkg/deb/debrecords.cc b/apt-pkg/deb/debrecords.cc
index a2005914d..f86287b11 100644
--- a/apt-pkg/deb/debrecords.cc
+++ b/apt-pkg/deb/debrecords.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: debrecords.cc,v 1.6 1999/03/29 19:28:52 jgg Exp $
+// $Id: debrecords.cc,v 1.7 1999/04/07 05:30:18 jgg Exp $
/* ######################################################################
Debian Package Records - Parser for debian package records
@@ -75,3 +75,11 @@ string debRecordParser::LongDesc()
return Section.FindS("Description");
}
/*}}}*/
+// debRecordParser::SourcePkg - Return the source package name if any /*{{{*/
+// ---------------------------------------------------------------------
+/* */
+string debRecordParser::SourcePkg()
+{
+ return Section.FindS("Source");
+}
+ /*}}}*/