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

Index_Entry

mattt edited this page Jul 27, 2020 · 2 revisions

Index.Entry

An entry in the index.

public final class Entry: Equatable, Comparable, Hashable

Inheritance

Comparable, Equatable, Hashable

Initializers

init(rawValue:)

init(rawValue: git_index_entry)

Properties

index

var index: Index?

rawValue

var rawValue: git_index_entry

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)

Clone this wiki locally