lost+found/src/path/matcher.js
function _gpfPathMatchApply (pathMatcher) {
    /*jshint validthis:true*/
    if (pathMatcher.match(this.parts)) {
        this.result = !pathMatcher.negative;
        return false; // Stop the main loop
    }
    return _gpfPathMatchAfterApplyNonMatching.call(this, pathMatcher);
}
function _gpfPathMatchApply (pathMatcher) {
    /*jshint validthis:true*/
    if (pathMatcher.match(this.parts)) {
        this.result = !pathMatcher.negative;
        return false; // Stop the main loop
    }
    return _gpfPathMatchAfterApplyNonMatching.call(this, pathMatcher);
}
function _gpfPathMatchApply ( pathMatcher ) { /*jshint validthis:true*/ if ( pathMatcher . match ( this . parts ) ) { this . result = ! pathMatcher . negative ; return false ; // Stop the main loop } return _gpfPathMatchAfterApplyNonMatching . call ( this , pathMatcher ) ; }
Match a path item

@param pathMatcher
@this An object containing
- {String[]} parts the path being tested split in parts
- {Boolean} [result=undefined] result the result
Match a path item