Commit

data class Commit(val id: String, val author: String, val email: String, val date: String, val subject: String, val edits: List<Edit>) : Comparable<Commit>

Represents a git commit. Consists of edits.

Constructors

Link copied to clipboard
constructor(id: String, author: String, email: String, date: String, subject: String, edits: List<Edit>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard

Functions

Link copied to clipboard
fun added(): <Error class: unknown class>

The sum of additions in all edits

Link copied to clipboard
open operator override fun compareTo(other: Commit): Int
Link copied to clipboard
Link copied to clipboard
fun deleted(): <Error class: unknown class>

The sum of deletions in all edits

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun total(): <Error class: unknown class>

The sum of additions and deletions