Simplify interface
This commit is contained in:
parent
2ab43e2b69
commit
c485baaadf
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user