Versions in this module Expand all Collapse all v1 v1.6.1 Jul 9, 2019 Changes in this version + func NewDAO(o dao.DAO, rootNodeId string) dao.DAO + func NewNode(treeNode *tree.Node, path mtree.MPath, filenames []string) *mtree.TreeNode + type BatchSend struct + func NewBatchSend() *BatchSend + func (b *BatchSend) Close() error + func (b *BatchSend) Send(arg interface{}) + type DAO interface + AddNode func(*mtree.TreeNode) error + AddNodeStream func(int) (chan *mtree.TreeNode, chan error) + CleanResourcesOnDeletion func() (error, string) + DelNode func(*mtree.TreeNode) error + DeleteCommits func(node *mtree.TreeNode) error + Flush func(bool) error + GetNode func(mtree.MPath) (*mtree.TreeNode, error) + GetNodeByUUID func(string) (*mtree.TreeNode, error) + GetNodeChild func(mtree.MPath, string) (*mtree.TreeNode, error) + GetNodeChildren func(mtree.MPath) chan *mtree.TreeNode + GetNodeChildrenCounts func(mtree.MPath) (int, int) + GetNodeFirstAvailableChildIndex func(mtree.MPath) (uint64, error) + GetNodeLastChild func(mtree.MPath) (*mtree.TreeNode, error) + GetNodeTree func(mtree.MPath) chan *mtree.TreeNode + GetNodes func(...mtree.MPath) chan *mtree.TreeNode + ListCommits func(node *mtree.TreeNode) ([]*tree.ChangeLog, error) + MoveNodeTree func(nodeFrom *mtree.TreeNode, nodeTo *mtree.TreeNode) error + Path func(strpath string, create bool, reqNode ...*tree.Node) (mtree.MPath, []*mtree.TreeNode, error) + PushCommit func(node *mtree.TreeNode) error + ResyncDirtyEtags func(rootNode *mtree.TreeNode) error + SetNode func(*mtree.TreeNode) error + SetNodes func(string, int64) sql.BatchSender + func GetDAOCache(session string) DAO + func NewDAOCache(session string, d DAO) DAO + type DAOWrapper func(d DAO) DAO + type IndexSQL struct + func (dao *IndexSQL) AddNode(node *mtree.TreeNode) error + func (dao *IndexSQL) AddNodeStream(max int) (chan *mtree.TreeNode, chan error) + func (dao *IndexSQL) CleanResourcesOnDeletion() (error, string) + func (dao *IndexSQL) DelNode(node *mtree.TreeNode) error + func (dao *IndexSQL) DeleteCommits(node *mtree.TreeNode) error + func (dao *IndexSQL) Flush(final bool) error + func (dao *IndexSQL) GetNode(path mtree.MPath) (*mtree.TreeNode, error) + func (dao *IndexSQL) GetNodeByUUID(uuid string) (*mtree.TreeNode, error) + func (dao *IndexSQL) GetNodeChild(reqPath mtree.MPath, reqName string) (*mtree.TreeNode, error) + func (dao *IndexSQL) GetNodeChildren(path mtree.MPath) chan *mtree.TreeNode + func (dao *IndexSQL) GetNodeChildrenCounts(path mtree.MPath) (int, int) + func (dao *IndexSQL) GetNodeFirstAvailableChildIndex(reqPath mtree.MPath) (uint64, error) + func (dao *IndexSQL) GetNodeLastChild(reqPath mtree.MPath) (*mtree.TreeNode, error) + func (dao *IndexSQL) GetNodeTree(path mtree.MPath) chan *mtree.TreeNode + func (dao *IndexSQL) GetNodes(mpathes ...mtree.MPath) chan *mtree.TreeNode + func (dao *IndexSQL) Init(options common.ConfigValues) error + func (dao *IndexSQL) ListCommits(node *mtree.TreeNode) (commits []*tree.ChangeLog, err error) + func (dao *IndexSQL) MoveNodeTree(nodeFrom *mtree.TreeNode, nodeTo *mtree.TreeNode) error + func (dao *IndexSQL) Path(strpath string, create bool, reqNode ...*tree.Node) (mtree.MPath, []*mtree.TreeNode, error) + func (dao *IndexSQL) PushCommit(node *mtree.TreeNode) error + func (dao *IndexSQL) ResyncDirtyEtags(rootNode *mtree.TreeNode) error + func (dao *IndexSQL) SetNode(node *mtree.TreeNode) error + func (dao *IndexSQL) SetNodes(etag string, deltaSize int64) sql.BatchSender Incompatible versions in this module v2.0.6+incompatible Apr 23, 2020