This function is not thread-safe and Index::lockDirectory must be used in read-only access
| 813 | |
| 814 | // This function is not thread-safe and Index::lockDirectory must be used in read-only access |
| 815 | inline void sortChildren() |
| 816 | { |
| 817 | if ( !m_sortedChildren ) |
| 818 | { |
| 819 | std::sort( m_children.begin(), m_children.end(), NodeBase::compareNames ); |
| 820 | m_sortedChildren = true; |
| 821 | } |
| 822 | } |
| 823 | |
| 824 | // This function is not thread-safe and Index::lockDirectory must be used in read-only access |
| 825 | inline ChildMap::iterator findChild( IndexedIO::EntryID name ) |
no test coverage detected