Edit

data class Edit(val type: EditType, val added: Int, val deleted: Int, val file: String)

Edit represents a summary of additions and deletions made to a single file.

Constructors

Link copied to clipboard
constructor(type: EditType, added: Int, deleted: Int, file: String)

Properties

Link copied to clipboard
val added: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun total(): Int

The sum of additions and deletions