SetNode updates a node, including its tree position
(ctx context.Context, node tree.ITreeNode)
| 174 | |
| 175 | // SetNode updates a node, including its tree position |
| 176 | func (dao *FolderSizeCacheSQL) UpdateNode(ctx context.Context, node tree.ITreeNode) error { |
| 177 | dao.invalidateMPathHierarchy(ctx, node.GetMPath(), -1) |
| 178 | return dao.DAO.UpdateNode(ctx, node) |
| 179 | } |
| 180 | |
| 181 | // DelNode removes a node from the tree |
| 182 | func (dao *FolderSizeCacheSQL) DelNode(ctx context.Context, node tree.ITreeNode) error { |
nothing calls this directly
no test coverage detected