docs: private boolean isDefaultExcludes(File directory) {
          for (String pattern : DirectoryScanner.getDefaultExcludes()) {
              if (DirectoryScanner.match(pattern, directory.getAbsolutePath().replace("\\", "/"))) {
                  return true;
              }
          }
  
          return false;
      }