@@ -65,7 +65,7 @@ func (s *blobReferenceValues) finishCurrentBlock() {
65
65
// blocks for a sstable's blob references. It maintains a refState, a slice of
66
66
// blobRefValueLivenessState. This tracks the in-progress value liveness for
67
67
// each blob value block for our sstable's blob references. The index of the
68
- // slice corresponds to the blob.ReferenceID .
68
+ // slice corresponds to the base.BlobReferenceID .
69
69
type blobRefValueLivenessWriter struct {
70
70
refState []blobReferenceValues
71
71
}
@@ -87,10 +87,10 @@ func (w *blobRefValueLivenessWriter) numReferences() int {
87
87
// blockID, a new state is created.
88
88
//
89
89
// addLiveValue adds a new state for the provided refID if one does
90
- // not already exist. It assumes that any new blob.ReferenceIDs are visited in
90
+ // not already exist. It assumes that any new base.BlobReferenceIDs are visited in
91
91
// monotonically increasing order.
92
92
func (w * blobRefValueLivenessWriter ) addLiveValue (
93
- refID blob. ReferenceID , blockID blob.BlockID , valueID blob.BlockValueID , valueSize uint64 ,
93
+ refID base. BlobReferenceID , blockID blob.BlockID , valueID blob.BlockValueID , valueSize uint64 ,
94
94
) error {
95
95
// Compute the minimum expected length of the state slice in order for our
96
96
// refID to be indexable.
@@ -123,12 +123,12 @@ func (w *blobRefValueLivenessWriter) addLiveValue(
123
123
124
124
// finish finishes encoding the per-blob reference liveness encodings, and
125
125
// returns an in-order sequence of (referenceID, encoding) pairs.
126
- func (w * blobRefValueLivenessWriter ) finish () iter.Seq2 [blob. ReferenceID , []byte ] {
127
- return func (yield func (blob. ReferenceID , []byte ) bool ) {
128
- // N.B. `i` is equivalent to blob.ReferenceID .
126
+ func (w * blobRefValueLivenessWriter ) finish () iter.Seq2 [base. BlobReferenceID , []byte ] {
127
+ return func (yield func (base. BlobReferenceID , []byte ) bool ) {
128
+ // N.B. `i` is equivalent to base.BlobReferenceID .
129
129
for i , state := range w .refState {
130
130
state .finishCurrentBlock ()
131
- if ! yield (blob . ReferenceID (i ), state .encodedFinishedBlocks ) {
131
+ if ! yield (base . BlobReferenceID (i ), state .encodedFinishedBlocks ) {
132
132
return
133
133
}
134
134
}
0 commit comments