mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 07:05:26 -04:00
added count of total number of files and total file isze on top of shared directories
This commit is contained in:
parent
61131e4bf5
commit
5ef4e752d9
10 changed files with 128 additions and 9 deletions
|
@ -149,6 +149,10 @@ class DirectoryStorage
|
|||
bool getDirHashFromIndex(const EntryIndex& index,RsFileHash& hash) const ; // constant cost
|
||||
bool getIndexFromDirHash(const RsFileHash& hash,EntryIndex& index) const ; // log cost.
|
||||
|
||||
// gathers statistics from the internal directory structure
|
||||
|
||||
void getStatistics(SharedDirStats& stats) ;
|
||||
|
||||
void print();
|
||||
void cleanup();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue