(ctx context.Context, obj model.Obj)
| 357 | } |
| 358 | |
| 359 | func (d *Crypt) Remove(ctx context.Context, obj model.Obj) error { |
| 360 | remoteActualPath, err := d.getActualPathForRemote(obj.GetPath(), obj.IsDir()) |
| 361 | if err != nil { |
| 362 | return fmt.Errorf("failed to convert path to remote path: %w", err) |
| 363 | } |
| 364 | return op.Remove(ctx, d.remoteStorage, remoteActualPath) |
| 365 | } |
| 366 | |
| 367 | func (d *Crypt) Put(ctx context.Context, dstDir model.Obj, streamer model.FileStreamer, up driver.UpdateProgress) error { |
| 368 | dstDirActualPath, err := d.getActualPathForRemote(dstDir.GetPath(), true) |
nothing calls this directly
no test coverage detected