1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

Add sync with peer

This commit is contained in:
Mikhail Rakhmanov 2025-04-04 21:10:14 +02:00
parent 3fadc5f589
commit bb63dca331
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B
5 changed files with 104 additions and 18 deletions

View file

@ -13,6 +13,7 @@ import (
"github.com/anyproto/any-sync/commonspace/acl/aclclient"
"github.com/anyproto/any-sync/commonspace/deletionmanager"
"github.com/anyproto/any-sync/commonspace/object/keyvalue"
"github.com/anyproto/any-sync/commonspace/object/treesyncer"
"github.com/anyproto/any-sync/commonspace/sync"
"github.com/anyproto/any-sync/commonspace/sync/objectsync"
@ -184,6 +185,7 @@ func (s *spaceService) NewSpace(ctx context.Context, id string, deps Deps) (Spac
Register(deps.SyncStatus).
Register(peerManager).
Register(st).
Register(keyvalue.New()).
Register(objectsync.New()).
Register(sync.NewSyncService()).
Register(syncacl.New()).