git2r (version 0.21.0)

git_reference-class: S4 class to handle a git reference

Description

Class "git_reference"

Arguments

Slots

name

The full name of the reference.

type

Type of the reference, either direct (GIT_REF_OID == 1) or symbolic (GIT_REF_SYMBOLIC == 2)

sha

The 40 character hexadecimal string of the SHA-1

target

The full name to the reference pointed to by a symbolic reference.

shorthand

The reference's short name

Methods

show

signature(object = "git_reference")