MCPcopy Create free account
hub / github.com/ImageEngine/cortex / hasChild

Method hasChild

src/IECore/StreamIndexedIO.cpp:1309–1315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1307}
1308
1309bool StreamIndexedIO::Node::hasChild( const IndexedIO::EntryID &name ) const
1310{
1311 Index::MutexLock lock;
1312 m_idx->lockDirectory( lock, m_node );
1313 DirectoryNode::ChildMap::const_iterator cit = m_node->findChild( name );
1314 return cit != m_node->children().end();
1315}
1316
1317DirectoryNode* StreamIndexedIO::Node::directoryChild( const IndexedIO::EntryID &name ) const
1318{

Callers 2

hasEntryMethod · 0.45
createSubdirectoryMethod · 0.45

Calls 3

lockDirectoryMethod · 0.80
findChildMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected