chore(core/store): Batch interface alias (#21262)

This commit is contained in:
cool-developer 2024-08-12 16:40:28 -04:00 committed by GitHub
parent 76e1fa30fb
commit df3b035dd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@ type KVStore interface {
//
// As with KVStore, given keys and values should be considered read-only, and must not be modified after
// passing them to the batch.
type Batch interface {
type Batch = interface {
// Set sets a key/value pair.
// CONTRACT: key, value readonly []byte
Set(key, value []byte) error