Class RootVcsDir

    • Constructor Detail

      • RootVcsDir

        public RootVcsDir()
    • Method Detail

      • getName

        @NotNull
        public String getName()
        Specified by:
        getName in interface VcsFile
        Returns:
        name of the file
      • getFullPath

        @NotNull
        public String getFullPath()
        Specified by:
        getFullPath in interface VcsFile
        Returns:
        path taking into account checkout rules of VCS roots
      • isDirectory

        public boolean isDirectory()
        Specified by:
        isDirectory in interface VcsFile
        Returns:
        true if this file is directory
      • getContent

        @NotNull
        public byte[] getContent()
                          throws VcsException
        Specified by:
        getContent in interface VcsFile
        Returns:
        binary content of the file
        Throws:
        VcsException - in case of any VCS errors or when file is directory