src/search/node/FindInFilesDomain.js
function removeFilesFromCache(updateObject) {
    var fileList = updateObject.fileList || [],
        filesInSearchScope = updateObject.filesInSearchScope || [],
        i = 0;
    for (i = 0; i < fileList.length; i++) {
        delete projectCache[fileList[i]];
    }
    function isNotInRemovedFilesList(path) {
        return (filesInSearchScope.indexOf(path) === -1) ? true : false;
    }
    files = files ? files.filter(isNotInRemovedFilesList) : files;
}
function removeFilesFromCache(updateObject) {
    var fileList = updateObject.fileList || [],
        filesInSearchScope = updateObject.filesInSearchScope || [],
        i = 0;
    for (i = 0; i < fileList.length; i++) {
        delete projectCache[fileList[i]];
    }
    function isNotInRemovedFilesList(path) {
        return (filesInSearchScope.indexOf(path) === -1) ? true : false;
    }
    files = files ? files.filter(isNotInRemovedFilesList) : files;
}
function removeFilesFromCache ( updateObject ) { var fileList = updateObject . fileList || [ ] , filesInSearchScope = updateObject . filesInSearchScope || [ ] , i = 0 ; for ( i = 0 ; i < fileList . length ; i ++ ) { delete projectCache [ fileList [ i ] ] ; } function isNotInRemovedFilesList ( path ) { return ( filesInSearchScope . indexOf ( path ) === - 1 ) ? true : false ; } files = files ? files . filter ( isNotInRemovedFilesList ) : files ; }
Remove the list of given files from the project cache
@param   {Object}   updateObject
Remove the list of given files from the project cache