DelNode removes a node from the tree
(ctx context.Context, node tree.ITreeNode)
| 180 | |
| 181 | // DelNode removes a node from the tree |
| 182 | func (dao *FolderSizeCacheSQL) DelNode(ctx context.Context, node tree.ITreeNode) error { |
| 183 | dao.invalidateMPathHierarchy(ctx, node.GetMPath(), -1) |
| 184 | return dao.DAO.DelNode(ctx, node) |
| 185 | } |
| 186 | |
| 187 | // MoveNodeTree move all the nodes belonging to a tree by calculating the new mpathes |
| 188 | func (dao *FolderSizeCacheSQL) MoveNodeTree(ctx context.Context, nodeFrom tree.ITreeNode, nodeTo tree.ITreeNode) error { |
nothing calls this directly
no test coverage detected