Skip to content

Commit

Permalink
versioning: Add support for ExcludedPrefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
krisis committed Apr 26, 2022
1 parent 0836bb8 commit 589dbc9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api-bucket-versioning.go
Expand Up @@ -81,6 +81,9 @@ type BucketVersioningConfiguration struct {
XMLName xml.Name `xml:"VersioningConfiguration"`
Status string `xml:"Status"`
MFADelete string `xml:"MfaDelete,omitempty"`
// MinIO extension - allows selective, prefix-level versioning exclusion.
// Requires versioning to be enabled
ExcludedPrefixes []string `xml:">Prefix,omitempty"`
}

// Various supported states
Expand Down

0 comments on commit 589dbc9

Please sign in to comment.