MCPcopy
hub / github.com/etcd-io/bbolt / Sequence

Method Sequence

bucket.go:538–540  ·  view source on GitHub ↗

Sequence returns the current integer for the bucket without incrementing it.

()

Source from the content-addressed store, hash-verified

536
537// Sequence returns the current integer for the bucket without incrementing it.
538func (b *Bucket) Sequence() uint64 {
539 return b.InSequence()
540}
541
542// SetSequence updates the sequence number for the bucket.
543func (b *Bucket) SetSequence(v uint64) error {

Callers 6

NextSequenceMethod · 0.95
cloneBucketFunction · 0.80
TestBucket_SequenceFunction · 0.80
walkFunction · 0.80
walkBucketFunction · 0.80
walkBucketFunction · 0.80

Calls 1

InSequenceMethod · 0.80

Tested by 3

cloneBucketFunction · 0.64
TestBucket_SequenceFunction · 0.64
walkBucketFunction · 0.64