Logo Search packages:      
Sourcecode: qapt version File versions  Download package

qint64 QApt::Backend::installSize (  )  const

Queries the backend for the total disk space that will be consumed or freed once the user commits changes. Freed space will show up as a negative number.

Returns:
The total disk space to be used in bytes.

Definition at line 286 of file backend.cpp.

{
    Q_D(const Backend);

    qint64 installSize = d->cache->depCache()->UsrSize();

    return installSize;
}


Generated by  Doxygen 1.6.0   Back to index