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@novell.com 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@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org