[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Blibqapt=5D_src=3A_apidox++?=
From: Jonathan Thomas <echidnaman () kubuntu ! org>
Date: 2011-01-30 14:44:24
Message-ID: 20110130144424.E2289A6094 () git ! kde ! org
[Download RAW message or body]
Git commit 011d4cdd14fa87e81e7d6397c13421202c168551 by Jonathan Thomas.
Pushed by jmthomas into branch 'master'.
apidox++
M +14 -0 src/backend.h
http://commits.kde.org/d5234754/011d4cdd14fa87e81e7d6397c13421202c168551
diff --git a/src/backend.h b/src/backend.h
index 3180271..984af4d 100644
--- a/src/backend.h
+++ b/src/backend.h
@@ -662,6 +662,20 @@ public Q_SLOTS:
*/
void updateXapianIndex();
+ /**
+ * Add the given .deb package archive to the APT package cache. The .deb
+ * file's corresponding package must already be known to APT. The candidate
+ * version of the package must also match the version that the .deb
+ * provides, and the MD5 sum of the package and the .deb archive must match.
+ *
+ * The main use for this function is to add .deb archives from e.g. a USB
+ * stick so that computers without internet connections can install/upgrade
+ * packages.
+ *
+ * @param archive The .deb archive to be added to the package cache
+ *
+ * @return @c true on success, @c false on failure
+ */
bool addArchiveToCache(const DebFile &archive);
private Q_SLOTS:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic