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

Reference

mattt edited this page Jul 27, 2020 · 4 revisions

Reference

A branch, note, or tag.

public class Reference

Seealso: `Branch`

Seealso: `Note`

Seealso: `Tag`

Inheritance

Equatable

Initializers

init(_:)

required init(_ pointer: OpaquePointer)

Properties

pointer

var pointer: OpaquePointer!

managed

var managed: Bool

name

The reference name.

var name: String

owner

The repository containing the reference.

var owner: Repository

target

The target of the reference.

var target: Object.ID?

Methods

normalize(name:format:)

public static func normalize(name: String, format: Format) throws -> String

==(lhs:rhs:)

public static func ==(lhs: Reference, rhs: Reference) -> Bool
Clone this wiki locally