treemanager

package
v0.2.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const CName = "common.object.treemanager"

Variables

This section is empty.

Functions

This section is empty.

Types

type TreeManager

type TreeManager interface {
	app.ComponentRunnable
	GetTree(ctx context.Context, spaceId, treeId string) (objecttree.ObjectTree, error)
	MarkTreeDeleted(ctx context.Context, spaceId, treeId string) error
	DeleteTree(ctx context.Context, spaceId, treeId string) error
	NewTreeSyncer(spaceId string, treeManager TreeManager) TreeSyncer
}

type TreeSyncer added in v0.1.2

type TreeSyncer interface {
	Init()
	SyncAll(ctx context.Context, peerId string, existing, missing []string) error
	Close() error
}

Directories

Path Synopsis
Package mock_treemanager is a generated GoMock package.
Package mock_treemanager is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL