mirror of
https://github.com/taigrr/bitcask
synced 2025-01-18 04:03:17 -08:00
Unexport NewDefaultConfig (not useful for public consumption)
This commit is contained in:
parent
d8a48f9eea
commit
2d9bfbb408
@ -354,7 +354,7 @@ func Open(path string, options ...option) (*Bitcask, error) {
|
||||
|
||||
bitcask := &Bitcask{
|
||||
Flock: flock.New(filepath.Join(path, "lock")),
|
||||
config: NewDefaultConfig(),
|
||||
config: newDefaultConfig(),
|
||||
path: path,
|
||||
curr: curr,
|
||||
keydir: keydir,
|
||||
|
@ -17,7 +17,7 @@ type config struct {
|
||||
MaxValueSize int
|
||||
}
|
||||
|
||||
func NewDefaultConfig() *config {
|
||||
func newDefaultConfig() *config {
|
||||
return &config{
|
||||
MaxDatafileSize: DefaultMaxDatafileSize,
|
||||
MaxKeySize: DefaultMaxKeySize,
|
||||
|
Loading…
x
Reference in New Issue
Block a user