Skip to content

Commit

Permalink
WIP - Remove unused Value function
Browse files Browse the repository at this point in the history
It only ever references itself
  • Loading branch information
AndrewSisley committed Oct 28, 2024
1 parent b958936 commit 860f8a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion internal/core/replicated.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ import (
// replicated data so as to converge on the same state.
type ReplicatedData interface {
Merge(ctx context.Context, other Delta) error
Value(ctx context.Context) ([]byte, error)
}
4 changes: 0 additions & 4 deletions internal/merkle/crdt/merklecrdt.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ func (base *baseMerkleCRDT) Merge(ctx context.Context, other core.Delta) error {
return base.crdt.Merge(ctx, other)
}

func (base *baseMerkleCRDT) Value(ctx context.Context) ([]byte, error) {
return base.crdt.Value(ctx)
}

func InstanceWithStore(
store Stores,
schemaVersionKey core.CollectionSchemaVersionKey,
Expand Down

0 comments on commit 860f8a8

Please sign in to comment.