aboutsummaryrefslogtreecommitdiff
path: root/ref/store/files/update_direct_ref.go
blob: 3b429be07bdebd806550fe475080223179cf9030 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package files

import objectid "codeberg.org/lindenii/furgit/object/id"

type directRefKind uint8

const (
	directMissing directRefKind = iota
	directDetached
	directSymbolic
)

type directRefState struct {
	kind     directRefKind
	name     string
	id       objectid.ObjectID
	target   string
	isLoose  bool
	isPacked bool
}