aboutsummaryrefslogtreecommitdiff
path: root/refstore/files/update_direct_ref.go
blob: fb9a83ae65ee186950670570e51f02f6b71d4e79 (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 "codeberg.org/lindenii/furgit/objectid"

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
}