Repository_Index_Entry - SwiftDocOrg/Git GitHub Wiki

Repository.Index.Entry

An entry in the index.

public final class Entry:​ Equatable, Comparable, Hashable

Inheritance

Comparable, Equatable, Hashable

Properties

path

The file path of the index entry.

var path:​ String

fileSize

The size of the index entry.

var fileSize:​ Int

creationTime

The creation time of the index entry.

var creationTime:​ Date

modificationTime

The modification time of the index entry

var modificationTime:​ Date

blob

The blob object for the index entry, if any.

var blob:​ Blob?

isConflict

var isConflict:​ Bool

stage

var stage:​ Stage

Methods

==(lhs:​rhs:​)

public static func ==(lhs:​ Repository.Index.Entry, rhs:​ Repository.Index.Entry) -> Bool

<(lhs:​rhs:​)

public static func <(lhs:​ Repository.Index.Entry, rhs:​ Repository.Index.Entry) -> Bool

hash(into:​)

public func hash(into hasher:​ inout Hasher)