Skip to content

Commit

Permalink
refactor: rename WithNoCompression option to WithoutCompression
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLoch committed Mar 7, 2024
1 parent 136faa8 commit ee68672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ func WithDataDir(dataDir string) CommonOption {
}
}

// WithNoCompression disables compression when writing/reading the file-based database.
// WithoutCompression disables compression when writing/reading the file-based database.
// When the local dataset exists already, this can only be used if the dataset has been created with the same setting.
// This seriously increases the amount of storage required.
// Default: false
func WithNoCompression() CommonOption {
func WithoutCompression() CommonOption {
return func(c *commonConfig) {
c.noCompression = true
}
Expand Down

0 comments on commit ee68672

Please sign in to comment.