Add comment

Co-authored-by: raulk <raul@protocol.ai>
This commit is contained in:
Peter Rabbitson 2021-01-12 18:11:18 +01:00 committed by GitHub
parent 446a24ef3f
commit 47141042b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,6 +55,9 @@ type LockedRepo interface {
Datastore(namespace string) (datastore.Batching, error)
// Blockstore returns an IPLD blockstore for the requested domain.
// The supplied context must only be used to initialize the blockstore.
// The implementation should not retain the context for usage throughout
// the lifecycle.
Blockstore(ctx context.Context, domain BlockstoreDomain) (blockstore.Blockstore, error)
// Returns config in this repo