Remove merge function (#60)

* tidy: clean up some leftovers

Fixes #56
Fixes #57
Fixes #58

* api: remove standalone merge function

Fixes #55
This commit is contained in:
Awn
2019-08-08 10:51:45 +01:00
committed by James Mills
parent 110c5024ee
commit af43cfa8f1
7 changed files with 10 additions and 149 deletions

View File

@@ -2,7 +2,6 @@ package bitcask
import (
"encoding/json"
"errors"
"io/ioutil"
"path/filepath"
)
@@ -18,12 +17,6 @@ const (
DefaultMaxValueSize = 1 << 16 // 65KB
)
var (
// ErrMaxConcurrencyLowerEqZero is the error returned for
// maxConcurrency option not greater than zero
ErrMaxConcurrencyLowerEqZero = errors.New("error: maxConcurrency must be greater than zero")
)
// Option is a function that takes a config struct and modifies it
type Option func(*config) error