(ctx context.Context, in *tree.DeleteNodeRequest, opts ...grpc.CallOption)
| 110 | } |
| 111 | |
| 112 | func (f *StructStorageHandler) DeleteNode(ctx context.Context, in *tree.DeleteNodeRequest, opts ...grpc.CallOption) (*tree.DeleteNodeResponse, error) { |
| 113 | resp, e := f.Next.DeleteNode(ctx, in, opts...) |
| 114 | if e == nil { |
| 115 | if session := in.IndexationSession; session != "" { |
| 116 | ctx = runtimecontext.WithAdditionalMetadata(ctx, map[string]string{common.XPydioSessionUuid: session}) |
| 117 | } |
| 118 | f.publish(ctx, "in", tree.NodeChangeEvent_DELETE, in.GetNode().Clone()) |
| 119 | } |
| 120 | return resp, e |
| 121 | } |
| 122 | |
| 123 | func (f *StructStorageHandler) CopyObject(ctx context.Context, from *tree.Node, to *tree.Node, requestData *models.CopyRequestData) (models.ObjectInfo, error) { |
| 124 | i, e := f.Next.CopyObject(ctx, from, to, requestData) |
nothing calls this directly
no test coverage detected