Include name/mime in ReadAllNeedles (#4005)

This commit is contained in:
James Hartig 2022-11-23 18:59:38 -05:00 committed by GitHub
parent 0c4eedf5da
commit 81624de27b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 732 additions and 709 deletions

View file

@ -320,6 +320,8 @@ message ReadAllNeedlesResponse {
bool needle_blob_compressed = 6;
uint64 last_modified = 7;
uint32 crc = 8;
bytes name = 9;
bytes mime = 10;
}
message VolumeTailSenderRequest {

File diff suppressed because it is too large Load diff

View file

@ -37,6 +37,8 @@ func (scanner *VolumeFileScanner4ReadAll) VisitNeedle(n *needle.Needle, offset i
NeedleBlobCompressed: n.IsCompressed(),
LastModified: n.LastModified,
Crc: n.Checksum.Value(),
Name: n.Name,
Mime: n.Mime,
})
if sendErr != nil {
return sendErr