Package com.spotify.github.v3.git
Interface TreeItem
-
- All Superinterfaces:
ShaLink
- All Known Implementing Classes:
ImmutableTreeItem
@Immutable public interface TreeItem extends ShaLink
Git tree item.
-
-
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.
-
-
-
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.
-
-