@ExportedBean(defaultVisibility=999) public class GitObject extends Object implements Serializable
| Constructor and Description |
|---|
GitObject(String name,
ObjectId sha1)
Constructor for GitObject, a named SHA1 (tag, branch, etc.).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of this git object (branch name, tag name, etc.).
|
ObjectId |
getSHA1()
Returns the SHA1 hash of this git object as an
ObjectId. |
String |
getSHA1String()
Returns the SHA1 hash of this git object as a String.
|
Copyright © 2013–2016. All rights reserved.