public interface HasObjectId
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Gets the full SHA-256 commit hash for this object.
|
default java.lang.String |
id(int length)
Gets an abbreviated SHA-256 commit hash for this object.
|
@Nonnull java.lang.String getId()
@Nonnull default java.lang.String id(int length)
length - the maximum length of the abbreviated ID