mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-29 17:28:41 -04:00
fixed terrible cost of calling requestDirDetails before createIndex
This commit is contained in:
parent
f58e9c1a73
commit
ca30b0da44
10 changed files with 90 additions and 35 deletions
|
@ -96,6 +96,12 @@ int DirectoryStorage::parentRow(EntryIndex e) const
|
|||
|
||||
return mFileHierarchy->parentRow(e) ;
|
||||
}
|
||||
bool DirectoryStorage::getChildIndex(EntryIndex e,int row,EntryIndex& c) const
|
||||
{
|
||||
RS_STACK_MUTEX(mDirStorageMtx) ;
|
||||
|
||||
return mFileHierarchy->getChildIndex(e,row,c) ;
|
||||
}
|
||||
|
||||
uint32_t DirectoryStorage::getEntryType(const EntryIndex& indx)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue