Documentation ¶
Index ¶
- Variables
- type Index
- func (i *Index) Cleanup() (err error)
- func (i *Index) Compare(kv KeyValue) (result diff.CompareResult, err error)
- func (i *Index) DoesRecordValues() bool
- func (i *Index) Index(kvs <-chan KeyValue, resumeKey <-chan []byte) (err error)
- func (i *Index) KeyValues() <-chan KeyValue
- func (i *Index) KeysNotSeen() <-chan []byte
- func (i *Index) ResumeKey() (resumeKey []byte, err error)
- func (i *Index) Value(key []byte) []byte
- type KeyValue
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Debug = false
)
View Source
var (
ErrBatcherClosed = errors.New("batcher closed")
)
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
Index represent a diff-index backed by a bolt store.
It's intended for indexing and/or for ONE diff operation (if recording seen keys). Many instances can work in parallel on the same store.
func (*Index) DoesRecordValues ¶
func (*Index) KeysNotSeen ¶
Click to show internal directories.
Click to hide internal directories.