function showAllFiles() {
  // All files already shown if the control row is invisible
  if (paginationControlRow.classList.contains('invisible') === true) {
    return Promise.resolve()
  }

  showAllButton.click()

  return waitForAllFiles()
}
/**
 * showAllFiles: triggers a backend call to grab the full list of files that were modified in the currently
 * viewed patch set if the current list is being paginated.
 * @return {Promise<Void>} An empty promise to indicate all files are now displayed on the frontend.
 */
triggers a backend call to grab the full list of files that were modified in the currently
viewed patch set if the current list is being paginated.
@return {Promise} An empty promise to indicate all files are now displayed on the frontend.
triggers a backend call to grab the full list of files that were modified in the currently viewed patch set if the current list is being paginated . @return { Promise } An empty promise to indicate all files are now displayed on the frontend .
function showAllFiles() {
  if (paginationControlRow.classList.contains('invisible') === true) {
    return Promise.resolve()
  }
  showAllButton.click()
  return waitForAllFiles()
}
function showAllFiles ( ) { if ( paginationControlRow . classList . contains ( 'invisible' ) === true ) { return Promise . resolve ( ) } showAllButton . click ( ) return waitForAllFiles ( ) }
showAllFiles: triggers a backend call to grab the full list of files that were modified in the currently
 viewed patch set if the current list is being paginated.
showAllFiles : triggers a backend call to grab the full list of files that were modified in the currently viewed patch set if the current list is being paginated .
// All files already shown if the control row is invisible