graph/db: rename KVStoreOptions to StoreOptions

We'll re-use this options struct for our SQLStore too. So here we rename
it to be more generic.
This commit is contained in:
Elle Mouton committed 2025-05-23 11:01:17 +02:00
1 parent 14ca086c72
commit a0a20bd0d0
3 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -203,7 +203,7 @@ var _ V1Store = (*KVStore)(nil)
// NewKVStore allocates a new KVStore backed by a DB instance. The
// returned instance has its own unique reject cache and channel cache.
func NewKVStore(db kvdb.Backend, options ...KVStoreOptionModifier) (*KVStore,
func NewKVStore(db kvdb.Backend, options ...StoreOptionModifier) (*KVStore,
error) {
opts := DefaultOptions()