Mailinglist Archive: zypp-devel (92 mails)
| < Previous | Next > |
[zypp-devel] DiskUsage calculation status (libzypp-3.13.12)
- From: Michael Andres <ma@xxxxxxx>
- Date: Sat, 4 Aug 2007 00:03:58 +0200
- Message-id: <20070803220358.GA20400@xxxxxxx>
DiskUsage status (libzypp-3.13.12)
- Provided ResObject interface:
+ /**
+ * \short Disk usage per directory
+ * A common attribute, although mostly packages require
+ * noticeable disk space. An e.g product could try to reserve
+ * a certain ammount of diskspace by providing DiskUsage data.
+ */
+ const DiskUsage & diskusage() const;
- Prepared classes
zypp::repo::cached::PackageImpl
zypp::repo::cached::SrcPackageImpl
Both overload diskusage(), using a lazy initialized DiskUsage
object. By now the object is empty.
@Duncan:
Please provide a ResolvableQuery to retrieve the du-data from the
DB and store them in _diskusage (see #warning FILL DU DATA FROM DB).
- Susetags DiskUsage parser is done, and feeds the data to the
CacheStore via CacheStore::consumeDiskUsage.
Provided CacheStore::consumeDiskUsage stores the data correctly and
Duncan prrovides the ResolvableQuery, DiskUsage calculation should
work again.
--
cu,
Michael Andres
+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |