mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 03:49:29 -04:00
- added some optimization to RequestDirDetails internal functions
- improved sorting/selection in shared files flat mode *W* Needs full recompilation. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4121 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f9c896c3ac
commit
6c2bdbe214
12 changed files with 115 additions and 47 deletions
|
@ -1237,6 +1237,12 @@ int FileIndexMonitor::RequestDirDetails(std::string uid, std::string path, DirDe
|
|||
return (uid == fi.root->id) ;
|
||||
}
|
||||
|
||||
uint32_t FileIndexMonitor::getType(void *ref) const
|
||||
{
|
||||
RsStackMutex mutex(fiMutex) ;
|
||||
|
||||
return fi.getType(ref) ;
|
||||
}
|
||||
int FileIndexMonitor::RequestDirDetails(void *ref, DirDetails &details, uint32_t flags) const
|
||||
{
|
||||
RsStackMutex mutex(fiMutex) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue