mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Include name/mime in ReadAllNeedles (#4005)
This commit is contained in:
parent
0c4eedf5da
commit
81624de27b
|
@ -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
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue