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:
parent
4754c9704b
commit
212553d63d
8 changed files with 53 additions and 468 deletions
2
common/commonspace/cache/treecache.go
vendored
2
common/commonspace/cache/treecache.go
vendored
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue