Interface File

  • All Known Implementing Classes:
    ImmutableFile

    @Immutable
    public interface File
    File resource. See Commit for example usage
    • Method Detail

      • filename

        @Nullable
        String filename()
        File name
      • additions

        @Nullable
        Integer additions()
        Number of added lines
      • deletions

        @Nullable
        Integer deletions()
        Number of removed lines
      • changes

        @Nullable
        Integer changes()
        Numnber of changed lines
      • status

        @Nullable
        String status()
        File status. E.g added, modified
      • rawUrl

        Optional<URI> rawUrl()
        Raw file content API URL
      • blobUrl

        Optional<URI> blobUrl()
        Blob file content API URL
      • sha

        Optional<String> sha()
        Sha that included action taken on the given file
      • contentsUrl

        Optional<URI> contentsUrl()
        File content API URL