mirror of
https://github.com/taigrr/bitcask
synced 2025-01-18 04:03:17 -08:00
Fix typo (#65)
This commit is contained in:
parent
c5a565cd82
commit
156d29e344
@ -14,7 +14,7 @@ import (
|
|||||||
var scanCmd = &cobra.Command{
|
var scanCmd = &cobra.Command{
|
||||||
Use: "scan <prefix>",
|
Use: "scan <prefix>",
|
||||||
Aliases: []string{"search", "find"},
|
Aliases: []string{"search", "find"},
|
||||||
Short: "Perform a prefis scan for keys",
|
Short: "Perform a prefix scan for keys",
|
||||||
Long: `This performa a prefix scan for keys starting with the given
|
Long: `This performa a prefix scan for keys starting with the given
|
||||||
prefix. This uses a Trie to search for matching keys and returns all matched
|
prefix. This uses a Trie to search for matching keys and returns all matched
|
||||||
keys.`,
|
keys.`,
|
||||||
|
@ -101,7 +101,7 @@ func WithMaxValueSize(size int) Option {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// WithSync causes Sync() to be called on every key/value written increasing
|
// WithSync causes Sync() to be called on every key/value written increasing
|
||||||
// durability and saftey at the expense of performance
|
// durability and safety at the expense of performance
|
||||||
func WithSync(sync bool) Option {
|
func WithSync(sync bool) Option {
|
||||||
return func(cfg *config) error {
|
return func(cfg *config) error {
|
||||||
cfg.sync = sync
|
cfg.sync = sync
|
||||||
|
Loading…
x
Reference in New Issue
Block a user