added count of total number of files and total file isze on top of shared directories

This commit is contained in:
csoler 2016-11-11 20:25:11 +01:00
parent 61131e4bf5
commit 5ef4e752d9
10 changed files with 128 additions and 9 deletions

View file

@ -700,6 +700,10 @@ int ftServer::SearchBoolExp(RsRegularExpression::Expression * exp, std::list<Dir
{
return mFileDatabase->SearchBoolExp(exp,results,flags,peer_id) ;
}
int ftServer::getSharedDirStatistics(const RsPeerId& pid, SharedDirStats& stats)
{
return mFileDatabase->getSharedDirStatistics(pid,stats) ;
}
/***************************************************************/
/*************** Local Shared Dir Interface ********************/