From ee68672a4adf4404f489b6301b04d443c0020083 Mon Sep 17 00:00:00 2001 From: Florian Loch Date: Thu, 7 Mar 2024 09:27:52 +0100 Subject: [PATCH] refactor: rename WithNoCompression option to WithoutCompression --- options.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/options.go b/options.go index d5e45bf..f4eb16d 100644 --- a/options.go +++ b/options.go @@ -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 }