Index_Entry - SwiftDocOrg/Git GitHub Wiki

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?

Methods

==(lhs:​rhs:​)

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

<(lhs:​rhs:​)

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

hash(into:​)

public func hash(into hasher:​ inout Hasher)