Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

Repository_Index_Entry

mattt edited this page Aug 20, 2020 · 2 revisions

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)
Clone this wiki locally