public void fileCreated()

in src/net/sourceforge/transparent/VFSListener.java [38:66]


  public void fileCreated(@NotNull VirtualFileEvent event) {
    VirtualFile file = event.getFile();

    //  In the case of multi-vcs project configurations, we need to skip all
    //  notifications on non-owned files
    if (!VcsUtil.isFileForVcs(file, project, host)) {
      return;
    }
    //  In the case when the project content is synchronized over the
    //  occasionally removed files.
    //  NB: These structures must be updated even in the case of refresh events
    //      (lines below).
    removeFromOldLists(file);

    if (event.isFromRefresh()) return;

    if (isFileProcessable(file)) {
      //  Add file into the list for further confirmation only if the folder
      //  is not marked as UNKNOWN. In this case the file under that folder
      //  will be marked as unknown automatically.
      VirtualFile parent = file.getParent();
      if (parent != null) {
        FileStatus status = myChangeListManager.getStatus(parent);
        if (status != FileStatus.UNKNOWN) {
          filesAdded.add(file);
        }
      }
    }
  }