1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-10 10:00:49 +09:00

Remove responsibility of objecttree to notify and move to synctree

This commit is contained in:
mcrakhman 2022-09-17 21:39:17 +02:00 committed by Mikhail Iudin
parent 4754c9704b
commit 212553d63d
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
8 changed files with 53 additions and 468 deletions

View file

@ -3,7 +3,6 @@ package cache
import (
"context"
"github.com/anytypeio/go-anytype-infrastructure-experiments/app"
"github.com/anytypeio/go-anytype-infrastructure-experiments/pkg/acl/storage"
"github.com/anytypeio/go-anytype-infrastructure-experiments/pkg/acl/tree"
)
@ -21,5 +20,4 @@ type TreeResult struct {
type TreeCache interface {
app.ComponentRunnable
GetTree(ctx context.Context, id string) (TreeResult, error)
AddTree(ctx context.Context, payload storage.TreeStorageCreatePayload) error
}