Reference - SwiftDocOrg/Git GitHub Wiki

Reference

A branch, note, or tag.

public class Reference

Inheritance

Equatable

Properties

name

The reference name.

var name:​ String

owner

The repository containing the reference.

var owner:​ Repository

target

var target:​ Object?

Methods

normalize(name:​format:​)

public static func normalize(name:​ String, format:​ Format = .normal) throws -> String

==(lhs:​rhs:​)

public static func ==(lhs:​ Reference, rhs:​ Reference) -> Bool