From b9589360c64ceb6142ae3ebe0b51a03968afbec5 Mon Sep 17 00:00:00 2001 From: Andrew Sisley Date: Mon, 28 Oct 2024 13:20:56 -0400 Subject: [PATCH] WIP - Remove unused interface --- internal/core/replicated.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/internal/core/replicated.go b/internal/core/replicated.go index f3f1b89f2c..d885b37fc8 100644 --- a/internal/core/replicated.go +++ b/internal/core/replicated.go @@ -12,8 +12,6 @@ package core import ( "context" - - cid "github.com/ipld/go-ipld-prime/linking/cid" ) // ReplicatedData is a data type that allows concurrent writers to deterministically merge other @@ -22,9 +20,3 @@ type ReplicatedData interface { Merge(ctx context.Context, other Delta) error Value(ctx context.Context) ([]byte, error) } - -// PersistedReplicatedData persists a ReplicatedData to an underlying datastore. -type PersistedReplicatedData interface { - ReplicatedData - Publish(Delta) (cid.Link, error) -}