Documentation ¶
Index ¶
Constants ¶
View Source
const CName = "common.commonspace.objecttreebuilder"
Variables ¶
View Source
var ErrSpaceClosed = errors.New("space is closed")
Functions ¶
This section is empty.
Types ¶
type BuildTreeOpts ¶
type BuildTreeOpts struct { Listener updatelistener.UpdateListener TreeBuilder objecttree.BuildObjectTreeFunc }
type HistoryTreeOpts ¶
type TreeBuilder ¶
type TreeBuilder interface { BuildTree(ctx context.Context, id string, opts BuildTreeOpts) (t objecttree.ObjectTree, err error) BuildHistoryTree(ctx context.Context, id string, opts HistoryTreeOpts) (t objecttree.HistoryTree, err error) CreateTree(ctx context.Context, payload objecttree.ObjectTreeCreatePayload) (res treestorage.TreeStorageCreatePayload, err error) DeriveTree(ctx context.Context, payload objecttree.ObjectTreeDerivePayload) (res treestorage.TreeStorageCreatePayload, err error) PutTree(ctx context.Context, payload treestorage.TreeStorageCreatePayload, listener updatelistener.UpdateListener) (t objecttree.ObjectTree, err error) }
type TreeBuilderComponent ¶
type TreeBuilderComponent interface { app.Component TreeBuilder }
func New ¶
func New() TreeBuilderComponent
Click to show internal directories.
Click to hide internal directories.