mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Allow Compression + encryption (#11103)
This commit is contained in:
@@ -26,7 +26,7 @@ Once the header is validated, we proceed to the actual data structure of the `xl
|
||||
- LegacyObjectType (preserves existing deployments and older xl.json format)
|
||||
- DeleteMarker (a versionId to capture the DELETE sequences implemented primarily for AWS spec compatibility)
|
||||
|
||||
A sample msgpack-JSON `xl.meta`, you can debug the content inside `xl.meta` using [xl-meta-to-json.go](https://github.com/minio/minio/blob/master/docs/bucket/versioning/xl-meta-to-json.go) program.
|
||||
A sample msgpack-JSON `xl.meta`, you can debug the content inside `xl.meta` using [xl-meta.go](https://github.com/minio/minio/blob/master/docs/bucket/versioning/xl-meta.go) program.
|
||||
```json
|
||||
{
|
||||
"Versions": [
|
||||
|
||||
@@ -56,11 +56,12 @@ GLOBAL FLAGS:
|
||||
}
|
||||
|
||||
app.Action = func(c *cli.Context) error {
|
||||
if !c.Args().Present() {
|
||||
cli.ShowAppHelp(c)
|
||||
return nil
|
||||
files := c.Args()
|
||||
if len(files) == 0 {
|
||||
// If no args, assume xl.meta
|
||||
files = []string{"xl.meta"}
|
||||
}
|
||||
for _, file := range c.Args() {
|
||||
for _, file := range files {
|
||||
var r io.Reader
|
||||
switch file {
|
||||
case "-":
|
||||
Reference in New Issue
Block a user