| 452 | } |
| 453 | |
| 454 | bool PathMatcher::prune( const std::string &path ) |
| 455 | { |
| 456 | if( path.empty() ) |
| 457 | { |
| 458 | return false; |
| 459 | } |
| 460 | std::vector<IECore::InternedString> tokenizedPath; |
| 461 | StringAlgo::tokenize( path, '/', tokenizedPath ); |
| 462 | return prune( tokenizedPath );; |
| 463 | } |
| 464 | |
| 465 | bool PathMatcher::prune( const std::vector<IECore::InternedString> &path ) |
| 466 | { |