lost+found/src/path/matcher.js
function (context) {
        var parts = context.parts,
            startPos = context.startPos,
            endPos = parts.length - 1,
            array = this.end,
            len = array.length,
            idx;
        for (idx = 0; idx < len; ++idx) {
            if (-1 < endPos && this._matchName(array[idx], parts[endPos])) {
                if (endPos-- < startPos) {
                    return _GPF_PATHMATCH_KO;
                }
            } else {
                return _GPF_PATHMATCH_KO;
            }
        }
        return _GPF_PATHMATCH_UNKNOWN;
    }
function (context) {
        var parts = context.parts,
            startPos = context.startPos,
            endPos = parts.length - 1,
            array = this.end,
            len = array.length,
            idx;
        for (idx = 0; idx < len; ++idx) {
            if (-1 < endPos && this._matchName(array[idx], parts[endPos])) {
                if (endPos-- < startPos) {
                    return _GPF_PATHMATCH_KO;
                }
            } else {
                return _GPF_PATHMATCH_KO;
            }
        }
        return _GPF_PATHMATCH_UNKNOWN;
    }
function ( context ) { var parts = context . parts , startPos = context . startPos , endPos = parts . length - 1 , array = this . end , len = array . length , idx ; for ( idx = 0 ; idx < len ; ++ idx ) { if ( - 1 < endPos && this . _matchName ( array [ idx ] , parts [ endPos ] ) ) { if ( endPos -- < startPos ) { return _GPF_PATHMATCH_KO ; } } else { return _GPF_PATHMATCH_KO ; } } return _GPF_PATHMATCH_UNKNOWN ; }
Match using this.end
Match using this . end