From c485baaadff6499f7e98c7b363c1f809083d2b22 Mon Sep 17 00:00:00 2001 From: mcrakhman Date: Wed, 24 May 2023 15:05:21 +0200 Subject: [PATCH] Simplify interface --- commonspace/space.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/commonspace/space.go b/commonspace/space.go index 332a0c0e..9a22f453 100644 --- a/commonspace/space.go +++ b/commonspace/space.go @@ -96,7 +96,6 @@ func NewSpaceId(id string, repKey uint64) string { type Space interface { Id() string Init(ctx context.Context) error - StartHeadSync() StoredIds() []string DebugAllHeads() []headsync.TreeHeads @@ -232,10 +231,6 @@ func (s *space) Init(ctx context.Context) (err error) { return nil } -func (s *space) StartHeadSync() { - s.headSync.Run() -} - func (s *space) ObjectSync() objectsync.ObjectSync { return s.objectSync }