mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 22:57:24 +08:00
refactoring to typed Size
Go is amazing with refactoring!
This commit is contained in:
@@ -207,7 +207,7 @@ func (v *Volume) makeupDiff(newDatFileName, newIdxFileName, oldDatFileName, oldI
|
||||
|
||||
type keyField struct {
|
||||
offset Offset
|
||||
size uint32
|
||||
size Size
|
||||
}
|
||||
incrementedHasUpdatedIndexEntry := make(map[NeedleId]keyField)
|
||||
|
||||
|
Reference in New Issue
Block a user