(ctx context.Context, from *tree.Node, to *tree.Node, requestData *models.CopyRequestData)
| 232 | } |
| 233 | |
| 234 | func (a *Handler) CopyObject(ctx context.Context, from *tree.Node, to *tree.Node, requestData *models.CopyRequestData) (models.ObjectInfo, error) { |
| 235 | if a.isStorePath(from.Path) || a.isStorePath(to.Path) { |
| 236 | return models.ObjectInfo{}, errors.WithMessage(errors.BinaryCannotWriteStore, a.StoreName) |
| 237 | } |
| 238 | return a.Next.CopyObject(ctx, from, to, requestData) |
| 239 | } |
nothing calls this directly
no test coverage detected