aboutsummaryrefslogtreecommitdiff
path: root/ref/ref.go
blob: 51f4d7645b5247a5c46236055ec0a7f903897e34 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// Package ref provides general, detached, and symbolic references.
package ref

// Ref is a Git reference.
//
// Consider casting to [Detached] or [Symbolic].
type Ref interface {
	isRef()
	Name() string
}