RevisionSortingOptions - SwiftDocOrg/Git GitHub Wiki

RevisionSortingOptions

Options for the order of the sequence returned by Repository.revisions(with:​).

public struct RevisionSortingOptions:​ OptionSet

Inheritance

OptionSet

Initializers

init(rawValue:​)

public init(rawValue:​ UInt32)

Properties

rawValue

var rawValue:​ UInt32

time

Sort the repository contents by commit time.

var time

topological

Sort the repository contents in topological order (no parents before all of its children are shown).

var topological

reverse

Iterate through the repository contents in reverse order.

var reverse