2017-11-22 18:15:40 -05:00
|
|
|
### Backend format `fs.json`
|
|
|
|
|
|
|
|
```go
|
2019-01-05 17:16:43 -05:00
|
|
|
// ObjectPartInfo Info of each part kept in the multipart metadata
|
2017-11-22 18:15:40 -05:00
|
|
|
// file after CompleteMultipartUpload() is called.
|
2019-01-05 17:16:43 -05:00
|
|
|
type ObjectPartInfo struct {
|
2017-11-22 18:15:40 -05:00
|
|
|
Number int `json:"number"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
ETag string `json:"etag"`
|
|
|
|
Size int64 `json:"size"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// A fsMetaV1 represents a metadata header mapping keys to sets of values.
|
|
|
|
type fsMetaV1 struct {
|
|
|
|
Version string `json:"version"`
|
|
|
|
Format string `json:"format"`
|
2019-04-09 14:39:42 -04:00
|
|
|
MinIO struct {
|
2017-11-22 18:15:40 -05:00
|
|
|
Release string `json:"release"`
|
|
|
|
} `json:"minio"`
|
|
|
|
// Metadata map for current object `fs.json`.
|
|
|
|
Meta map[string]string `json:"meta,omitempty"`
|
2019-01-05 17:16:43 -05:00
|
|
|
Parts []ObjectPartInfo `json:"parts,omitempty"`
|
2017-11-22 18:15:40 -05:00
|
|
|
}
|
|
|
|
```
|