Returns the expected install size of the package independently of the
package being currently installed or not.
Details
Details
- Reviewers
sitter - Commits
- R548:3c5414700010: add package installedSize
Diff Detail
Diff Detail
- Repository
- R548 QAPT Library
- Branch
- installedSize
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 109 Build 109: arc lint + arc unit
Comment Actions
I'd write that as
const pkgCache::VerIterator &ver = d->packageIter.CurrentVer(); if (!ver.end()) { return qint64(ver->InstalledSize); } return availableInstalledSize();
easier on the eyes IMO. Looks good either way though. Thanks π