aboutsummaryrefslogtreecommitdiff
path: root/object/typ/type.go
blob: b171b324f489e651605f8c612e1c21520118e7fb (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package typ

// Type represents a Git object type.
type Type uint8

const (
	// Unknown represents an unknown or unset Git object type.
	Unknown Type = iota

	// Blob represents a Git blob.
	Blob

	// Tree represents a Git tree.
	Tree

	// Commit represents a Git commit.
	Commit

	// Tag represents a Git tag.
	Tag
)