aboutsummaryrefslogtreecommitdiff
path: root/object/store/packed/internal/ingest/result.go
blob: 9cd6ef1d257b873626dcccd8190ca2b4eb7a84d7 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package ingest

import "lindenii.org/go/furgit/object/id"

// Result describes one finalized pack write.
type Result struct {
	// PackName is the destination-relative name of the written pack.
	PackName string

	// IdxName is the destination-relative name of the written index.
	IdxName string

	// RevName is the destination-relative name of the written reverse index.
	RevName string

	// BloomName is the destination-relative name of the written Bloom filter.
	BloomName string

	// PackHash is the pack trailer hash
	// shared by the pack, index, and reverse index.
	PackHash id.ObjectID

	// ObjectCount is the number of objects in the finalized pack,
	// including any bases appended during thin completion.
	ObjectCount uint32

	// ThinFixed reports whether thin completion appended local bases.
	ThinFixed bool
}