Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPath ¶ added in v1.9.0
func DefaultPath() string
DefaultPath returns the default path for the deduplication service's badger DB
Types ¶
type Dedup ¶ added in v1.9.0
type Dedup interface { // Set returns [true] if it was the first time the key was encountered, otherwise it returns [false] along with the previous value Set(kv KeyValue) (bool, int64) // Commit commits a list of previously set keys to the DB Commit(keys []string) error // Close closes the deduplication service Close() }
Dedup is the interface for deduplication service
Click to show internal directories.
Click to hide internal directories.