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

Method removePaths

src/IECore/PathMatcher.cpp:425–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425bool PathMatcher::removePaths( const PathMatcher &paths )
426{
427 bool result = false;
428 NodePtr newRoot = removePathsWalk( m_root.get(), paths.m_root.get(), /* shared = */ false, result );
429 if( newRoot )
430 {
431 m_root = newRoot;
432 }
433 return result;
434}
435
436PathMatcher PathMatcher::intersection( const PathMatcher &paths ) const
437{

Callers 2

testRemovePathsMethod · 0.95
testCopyAndRemovePathMethod · 0.95

Calls 1

getMethod · 0.45

Tested by 2

testRemovePathsMethod · 0.76
testCopyAndRemovePathMethod · 0.76