private boolean skipGeneration(@NotNull VirtualFile ignoreFileRoot, boolean notify) {
    if (notify && !needGenerateIgnoreFile(myProject, ignoreFileRoot)) { // notify == true for non-internal ignore file generation
      LOG.debug("Skip VCS ignore file generation");
      return true;
    }
    else if (!needGenerateInternalIgnoreFile(myProject, ignoreFileRoot)) {
      LOG.debug("Skip VCS internal ignore file generation");
      return true;
    }

    return false;
  }
private boolean skipGeneration(@NotNull VirtualFile ignoreFileRoot, boolean notify)