Class VcsFileImpl

    • Constructor Detail

    • 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
      • 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
      • isDirectory

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

        public int hashCode()
        Overrides:
        hashCode in class Object