equals

open operator override fun equals(other: Any?): Boolean

Two IndexCommits are equal if both their Directory and versions are equal.