data class CommitInfo: Any
Fields
Name | Description |
---|---|
var diffs: ArrayList<CommitDiff>
|
is an ArrayList of CommitDiffs |
val sha1: String
|
is a String with the commit's hash |
val date: Date
|
is the Date of the commit |
val authorName: String
|
is a String with the name of the author of the commit |
val authorEmail: String
|
is a String with the email of the author of the commit |
val message: String
|
is a String with the commit message |
Constructors
<init>
constructor(sha1: String, date: Date, authorName: String, authorEmail: String, message: String)
Represents information about a Git commit.
Parameters
Name | Description |
---|---|
sha1: String
|
|
date: Date
|
|
authorName: String
|
|
authorEmail: String
|
|
message: String
|
Methods
toString
fun toString(): String
ReturnValue
Name | Description |
---|---|
String
|
getDateAsStr
fun getDateAsStr(): String
ReturnValue
Name | Description |
---|---|
String
|
numOfChanges
fun numOfChanges(): Int
ReturnValue
Name | Description |
---|---|
Int
|
summaryOfChanges
fun summaryOfChanges(): String
ReturnValue
Name | Description |
---|---|
String
|
Represents information about a Git commit.