refactor(tvix/store): bump CalculateNARResponse.nar_size to u64
Change-Id: I5f41981820363a5eb9982c3d19830916207c62cc Reviewed-on: https://cl.tvl.fyi/c/depot/+/8591 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
0e7bbf0d01
commit
103d2eb909
5 changed files with 9 additions and 9 deletions
|
|
@ -107,7 +107,7 @@ type CalculateNARResponse struct {
|
|||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// This size of the NAR file, in bytes.
|
||||
NarSize uint32 `protobuf:"varint,1,opt,name=nar_size,json=narSize,proto3" json:"nar_size,omitempty"`
|
||||
NarSize uint64 `protobuf:"varint,1,opt,name=nar_size,json=narSize,proto3" json:"nar_size,omitempty"`
|
||||
// The sha256 of the NAR file representation.
|
||||
NarSha256 []byte `protobuf:"bytes,2,opt,name=nar_sha256,json=narSha256,proto3" json:"nar_sha256,omitempty"`
|
||||
}
|
||||
|
|
@ -144,7 +144,7 @@ func (*CalculateNARResponse) Descriptor() ([]byte, []int) {
|
|||
return file_tvix_store_protos_rpc_pathinfo_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *CalculateNARResponse) GetNarSize() uint32 {
|
||||
func (x *CalculateNARResponse) GetNarSize() uint64 {
|
||||
if x != nil {
|
||||
return x.NarSize
|
||||
}
|
||||
|
|
@ -173,7 +173,7 @@ var file_tvix_store_protos_rpc_pathinfo_proto_rawDesc = []byte{
|
|||
0x74, 0x48, 0x61, 0x73, 0x68, 0x42, 0x09, 0x0a, 0x07, 0x62, 0x79, 0x5f, 0x77, 0x68, 0x61, 0x74,
|
||||
0x22, 0x50, 0x0a, 0x14, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x4e, 0x41, 0x52,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x61, 0x72, 0x5f,
|
||||
0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6e, 0x61, 0x72, 0x53,
|
||||
0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x6e, 0x61, 0x72, 0x53,
|
||||
0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x61, 0x72, 0x5f, 0x73, 0x68, 0x61, 0x32, 0x35,
|
||||
0x36, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6e, 0x61, 0x72, 0x53, 0x68, 0x61, 0x32,
|
||||
0x35, 0x36, 0x32, 0xd7, 0x01, 0x0a, 0x0f, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x53,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue