code: function _removeSearchResultsForEntries(entries) {
              var fullPaths = [];
              entries.forEach(function (entry) {
                  Object.keys(searchModel.results).forEach(function (fullPath) {
                      if (fullPath === entry.fullPath ||
                              (entry.isDirectory && fullPath.indexOf(entry.fullPath) === 0)) {
                          // node search : inform node that the file is removed
                          fullPaths.push(fullPath);
                          if (findOrReplaceInProgress) {
                              searchModel.removeResults(fullPath);
                              resultsChanged = true;
                          }
                      }
                  });
              });
              // this should be called once with a large array instead of numerous calls with single items
              filesRemoved(fullPaths);
          }
docs: /*
  Remove existing search results that match the given entry's path
  @param {Array.<(File|Directory)>} entries