Interface TreeItem

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String mode()
      The file mode; one of 100644 for file (blob), 100755 for executable (blob), 040000 for subdirectory (tree), 160000 for submodule (commit), or 120000 for a blob that specifies the path of a symlink.
      String path()
      The file referenced in the tree.
      Long size()
      File size in bytes.
      String type()
      Either blob, tree, or commit.
      • Methods inherited from interface com.spotify.github.v3.git.ShaLink

        sha, url
    • Method Detail

      • path

        @Nullable
        String path()
        The file referenced in the tree.
      • mode

        @Nullable
        String mode()
        The file mode; one of 100644 for file (blob), 100755 for executable (blob), 040000 for subdirectory (tree), 160000 for submodule (commit), or 120000 for a blob that specifies the path of a symlink.
      • type

        @Nullable
        String type()
        Either blob, tree, or commit.
      • size

        @Nullable
        Long size()
        File size in bytes.